Path Tracing
Loading...
Searching...
No Matches
program.hpp File Reference
#include <GL/glew.h>
#include <common/shader.hpp>
#include <initializer_list>
#include <utility>
Include dependency graph for program.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GLProgram
 RAII wrapper around an OpenGL shader program. load() only replaces the held program on a successfull compile+link, a failed reload keeps whatever program was there, instead of putting the renderer without a valid program. This works as a safeguard to call reloadShaders(). More...