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_filename | Filename of the file. |
Member Function Documentation
GLint Shader::getUniformLocation |
( |
const std::string & |
p_location | ) |
|
Gets the uniform location of a Shader.
- Parameters:
-
p_location | The location to locate. |
- Returns:
- The uniform location.
The documentation for this class was generated from the following files: