#include <GLSLShader.h>
Public Member Functions | |
virtual const RTTI & | getType () const |
GLSLShader (const string &path, const string &vertexShaderPath, const string &fragmentShaderPath) | |
void | bindShader () const |
GLuint | getShaderProgramId () const |
Static Public Attributes | |
static const RTTI | TYPE |
Protected Attributes | |
GLuint | vs_object |
GLuint | fs_object |
GLuint | prog_object |
std::string | ressourceName |
Friends | |
class | boost::serialization::access |
A class encaplulation (very quickly) a GLSL shader, typicaly attached to a Material.