Basic Renderer
|
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... | |
The depth map stores depth values in a texture.
DepthMap::DepthMap | ( | GLint | width, |
GLint | height | ||
) |
Constructor.
[in] | width | |
[in] | height |
|
inlinevirtual |
Virtual destructor.