VisLU Flow 0.1
Public Member Functions

Shader Class Reference

List of all members.

Public Member Functions

 Shader (std::string p_filename)
 Constructor.
 ~Shader (void)
 Destructor.
GLint getUniformLocation (const std::string &p_location)
 Gets the uniform location of a Shader.
void bind (void)
 Binds this shader.
void unbind (void)
 Unbinds this shader.

Constructor & Destructor Documentation

Shader::Shader ( std::string  p_filename)

Constructor.

Parameters:
p_filenameFilename of the file.

Member Function Documentation

GLint Shader::getUniformLocation ( const std::string &  p_location)

Gets the uniform location of a Shader.

Parameters:
p_locationThe location to locate.
Returns:
The uniform location.

The documentation for this class was generated from the following files:
 All Classes Functions Variables