VisPro  1.0
Project of Visualisierung 2
AnimatedTextureShader Class Reference
Inheritance diagram for AnimatedTextureShader:
TextureShader Shader

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
Texturetexture
 

Member Function Documentation

void AnimatedTextureShader::bindTexture ( int  unit)
virtual

Bind given texture unit in given context.

Parameters
unittexture unit identifier

Reimplemented from TextureShader.


The documentation for this class was generated from the following files: