|
VisPro
1.0
Project of Visualisierung 2
|
Public Member Functions | |
| AnimatedTextureShader (const std::string &path, glm::vec3 amb_col, glm::vec3 spec_col, float shin, float framerate) | |
| void | bindTexture (int unit) |
Public Member Functions inherited from TextureShader | |
| TextureShader (const std::string &path, glm::vec3 amb_col, glm::vec3 spec_col, float shin) | |
| virtual void | setLighting (std::vector< std::shared_ptr< PointLight >> *allLights, int sm_light_id) |
Public Member Functions inherited from Shader | |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from Shader | |
| GLuint | programHandle |
Protected Attributes inherited from TextureShader | |
| Texture * | texture |
|
virtual |
Bind given texture unit in given context.
| unit | texture unit identifier |
Reimplemented from TextureShader.