VisPro  1.0
Project of Visualisierung 2
ZBufferShader Class Reference

#include <ZBufferShader.h>

Inheritance diagram for ZBufferShader:
Shader

Public Member Functions

 ZBufferShader (glm::vec2 dim)
 
- 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

Z buffer shader.

Constructor & Destructor Documentation

ZBufferShader::ZBufferShader ( glm::vec2  dim)

Constructor.

Parameters
dimscreen dimension of z buffer

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