bRenderer
Download
Tutorial
Guides
bRenderer
Download
Tutorial
Guides
Basic Renderer
Main Page
Namespaces
Classes
Files
File List
File Members
bRenderer
headers
DepthMap.h
Go to the documentation of this file.
1
#ifndef B_DEPTH_MAP_H
2
#define B_DEPTH_MAP_H
3
4
#include <vector>
5
#include "
Texture.h
"
6
10
class
DepthMap
:
public
Texture
11
{
12
public
:
13
14
/* Functions */
15
20
DepthMap
(GLint width, GLint height);
21
24
virtual
~DepthMap
() {
deleteTexture
(); }
25
26
};
27
28
typedef
std::shared_ptr< DepthMap >
DepthMapPtr
;
29
30
#endif
/* defined(B_DEPTH_MAP_H) */
Texture.h
DepthMap::~DepthMap
virtual ~DepthMap()
Virtual destructor.
Definition:
DepthMap.h:24
DepthMap
The depth map stores depth values in a texture.
Definition:
DepthMap.h:10
DepthMapPtr
std::shared_ptr< DepthMap > DepthMapPtr
Definition:
DepthMap.h:28
Texture::deleteTexture
virtual void deleteTexture()
Delete the OpenGL texture.
Definition:
Texture.h:54
Texture
An image that can be applied to a surface of a drawable object.
Definition:
Texture.h:13
DepthMap::DepthMap
DepthMap(GLint width, GLint height)
Constructor.
Definition:
DepthMap.cpp:4