OpenGL shader class.
More...
#include <Shader.h>
render::Shader::Shader |
( |
| ) |
|
|
inline |
void Shader::bindAttributeLocations |
( |
| ) |
|
Binds correct attribute locations.
Uniform render::Shader::getUniform |
( |
const char * |
uniformName | ) |
|
|
inline |
Gets uniform by name.
- Parameters
-
uniformName | Name of the uniform |
bool Shader::init |
( |
const char * |
vertexShaderFilename, |
|
|
const char * |
pixelShaderFilename |
|
) |
| |
Reads Shader from tex files.
- Parameters
-
vertexShaderFilename | The Vertex Shader |
pixelShaderFilename | The Fragment Shader |
void Shader::uninit |
( |
void |
| ) |
|
void Shader::use |
( |
void |
| ) |
|
The documentation for this class was generated from the following files:
- /Users/johnny/Documents/uni/Visualisierung 2/flowviz/flowviz/flowviz/src/render/Shader.h
- /Users/johnny/Documents/uni/Visualisierung 2/flowviz/flowviz/flowviz/src/render/Shader.cpp