VisPro  1.0
Project of Visualisierung 2
QuadShader Class Reference

#include <QuadShader.h>

Inheritance diagram for QuadShader:
Shader

Public Member Functions

 QuadShader (float z_near, float z_far, float angle, glm::vec2 texDim)
 
- 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)
 
virtual void bindTexture (int unit)
 

Additional Inherited Members

- Public Attributes inherited from Shader
GLuint programHandle
 

Detailed Description

Quad buffer shader.

Constructor & Destructor Documentation

QuadShader::QuadShader ( float  z_near,
float  z_far,
float  angle,
glm::vec2  texDim 
)

Constructor.

Parameters
z_neardistance of near plane
z_fardistance of near plane
angledrill angle of cutaway surface cones
texDimdimension of used texture in frame buffer object

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