Additions
An interface added to the GLRenderer class that allows you to:
- Create an empy program (
GLRenderer::createProgram
) - Create and add shaders (
GLRenderer::addShader
) - Link a program to make it complete (
GLRenderer::linkProgram
) - Safely use a program at runtime (
GLRenderer::useProgram
)
Programs are saved in the GLRenderer using an unordered_map with string keys representing the program name.