Crazy Eddie's GUI System  0.8.4
CEGUI::OpenGL3Shader Class Reference
+ Inheritance diagram for CEGUI::OpenGL3Shader:
+ Collaboration diagram for CEGUI::OpenGL3Shader:

List of all members.

Public Member Functions

 OpenGL3Shader (const std::string &vertex_shader_source, const std::string &fragment_shader_source)
 Creates and loads shader programs from the two strings supplied to it.
void bind () const
 Bind the shader to the OGL state-machine.
void unbind () const
 Unbind the shader.
GLuint getAttribLocation (const std::string &name) const
 Query the location of a vertex attribute inside the shader.
GLuint getUniformLocation (const std::string &name) const
 Query the location of a uniform variable inside the shader.
void bindFragDataLocation (const std::string &name)
 Defines the name of the variable inside the shader which represents the final color for each fragment.
bool isCreatedSuccessfully ()
void link ()
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends