|
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) |
|
virtual void | bindTexture (int unit) |
|
void NormalShader::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: