List of all members.
Public Member Functions |
| | Shader () |
| | ~Shader () |
| void | loadCompileAndLinkShader (char *vertexShaderLocation, char *geometryShaderLocation, char *fragmentShaderLoacation) |
| void | loadCompileAndLinkShader (char *vertexShaderLocation, char *fragmentShaderLoacation) |
|
void | bind_frag_data_location (const std::string &name) |
|
void | bind_frag_data_location (const std::string &name, const std::string &name2) |
| GLint | getShaderProgram () const |
Constructor & Destructor Documentation
Member Function Documentation
| GLint Shader::getShaderProgram |
( |
| ) |
const |
Returns a handle for the shader program.
| void Shader::loadCompileAndLinkShader |
( |
char * |
vertexShaderLocation, |
|
|
char * |
geometryShaderLocation, |
|
|
char * |
fragmentShaderLoacation |
|
) |
| |
Loads, compiles and links the shader to the given parameters.
- Parameters:
-
| vertexShaderLocation | The location of the vertex shader. |
| fragmentShaderLoacation | The location of the fragment shader. |
| void Shader::loadCompileAndLinkShader |
( |
char * |
vertexShaderLocation, |
|
|
char * |
fragmentShaderLoacation |
|
) |
| |
Loads, compiles and links the shader to the given parameters.
- Parameters:
-
| vertexShaderLocation | The location of the vertex shader. |
| fragmentShaderLoacation | The location of the fragment shader. |
The documentation for this class was generated from the following files: