DepthMap Class Reference

The depth map stores depth values in a texture. More...

#include <DepthMap.h>

Inherits Texture.

Public Member Functions

 DepthMap (GLint width, GLint height)
 Constructor. More...
 
virtual ~DepthMap ()
 Virtual destructor. More...
 
- Public Member Functions inherited from Texture
 Texture ()
 Constructor. More...
 
 Texture (const TextureData &data)
 Constructor. More...
 
 Texture (GLuint textureID)
 Constructor. More...
 
virtual ~Texture ()
 Virtual destructor. More...
 
GLuint getTextureID ()
 Returns texture id. More...
 
virtual void bind (GLint texUnit=GL_TEXTURE0)
 Binds the texture. More...
 
virtual void deleteTexture ()
 Delete the OpenGL texture. More...
 

Detailed Description

The depth map stores depth values in a texture.

Author
Benjamin Buergisser

Constructor & Destructor Documentation

DepthMap::DepthMap ( GLint  width,
GLint  height 
)

Constructor.

Parameters
[in]width
[in]height
virtual DepthMap::~DepthMap ( )
inlinevirtual

Virtual destructor.