Enumerator |
---|
STANDARD |
Use the standard shader.
|
DEPTH_MAP |
Use a shader to render to a depth map.
|
AMBIENT_OCCL |
Use the ambient occlusion shader.
|
COUNT |
Helper element to be able to count the size of the enum ShaderType.
|
A member function to get a pointer to a shader by specifying the desired shader as enum parameter.
- Parameters
-
- Returns
- a pointer to a shader.
GLuint ShaderManager::GetShaderProgramId |
( |
ShaderType |
shaderType | ) |
|
A member function to get the ID of a shader.
- Parameters
-
- Returns
- the ID as a GLuint.
void ShaderManager::Init |
( |
| ) |
|
The documentation for this class was generated from the following files: