|
virtual void | bindTexture (int unit) |
|
virtual void | setLighting (std::vector< std::shared_ptr< PointLight >> *allLights) |
|
| Shader (const std::string &vertexShader, const std::string &fragmentShader) |
|
| Shader (const std::string &vertexShader, const std::string &geometryShader, const std::string &fragmentShader) |
|
void | useShader () const |
|
void | setCutawayDimension (glm::vec2 dim) |
|
void FboShader::bindTexture |
( |
int |
unit | ) |
|
|
virtual |
Bind given texture unit in given context.
- Parameters
-
unit | texture unit identifier |
Reimplemented from Shader.
void FboShader::setLighting |
( |
std::vector< std::shared_ptr< PointLight >> * |
allLights | ) |
|
|
virtual |
Install shader and set lighting.
- Parameters
-
allLights | set of given point lights |
Reimplemented from Shader.
The documentation for this class was generated from the following files: