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

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from Shader
GLuint programHandle
 

Member Function Documentation

void NormalShader::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: