NGL  6.5
The NCCA Graphics Library
ShaderLib.h File Reference

main shader loader / manager class for GLSL shaders More...

#include "Colour.h"
#include "Shader.h"
#include "ShaderProgram.h"
#include "Singleton.h"
#include "Types.h"
#include "Mat3.h"
#include "Mat4.h"
#include "Vec4.h"
#include <string>
#include <unordered_map>
+ Include dependency graph for ShaderLib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ngl::ShaderLib
 Singleton Class to init and Use GLSL Shaders the class stores the shaders as a map of shader objects and they can be found by name Updated to use templated singleton Updated to use a map to store the shaders by name and hence removed the name from the ShaderObject Class Also Added methods to adjust shader parameters by shader / param name, at present use only 1-4 Floats and a few others need to think of a better way of doing this. More...
 

Namespaces

 ngl
 implementation files for RibExport class
 

Detailed Description

main shader loader / manager class for GLSL shaders

Definition in file ShaderLib.h.