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

Public Member Functions

virtual void bindTexture (int unit)
 
virtual void setLighting (std::vector< std::shared_ptr< PointLight >> *allLights)
 
- 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
 
void setCutawayDimension (glm::vec2 dim)
 

Additional Inherited Members

- Public Attributes inherited from Shader
GLuint programHandle
 

Member Function Documentation

void FboShader::bindTexture ( int  unit)
virtual

Bind given texture unit in given context.

Parameters
unittexture unit identifier

Reimplemented from Shader.

void FboShader::setLighting ( std::vector< std::shared_ptr< PointLight >> *  allLights)
virtual

Install shader and set lighting.

Parameters
allLightsset of given point lights

Reimplemented from Shader.


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