|
| TextureShader (const std::string &path, glm::vec3 amb_col, glm::vec3 spec_col, float shin) |
|
virtual void | bindTexture (int unit) |
|
virtual void | setLighting (std::vector< std::shared_ptr< PointLight >> *allLights, int sm_light_id) |
|
| 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 |
|
virtual void | setLighting (std::vector< std::shared_ptr< PointLight >> *allLights) |
|
void | setCutawayDimension (glm::vec2 dim) |
|
void TextureShader::bindTexture |
( |
int |
unit | ) |
|
|
virtual |
Bind given texture unit in given context.
- Parameters
-
unit | texture unit identifier |
Reimplemented from Shader.
Reimplemented in AnimatedTextureShader.
The documentation for this class was generated from the following files: