Vis::RenderTarget2D Class Reference
#include <VisRenderTarget2D.h>
List of all members.
Detailed Description
Class providing methods for rendering to a texture.
Constructor & Destructor Documentation
Vis::RenderTarget2D::RenderTarget2D |
( |
|
) |
|
Vis::RenderTarget2D::~RenderTarget2D |
( |
|
) |
|
Member Function Documentation
void Vis::RenderTarget2D::attachTexture2D |
( |
Texture2D & |
tex, |
|
|
GLenum |
att | |
|
) |
| | |
Attach a texture to the renderbuffer.
- Parameters:
-
| tex | texture to attach. |
| att | attribute to which attachment the texture is added |
void Vis::RenderTarget2D::begin |
( |
|
) |
|
Begin to draw into the render target.
void Vis::RenderTarget2D::checkStatus |
( |
|
) |
const |
Check the status of the render target and if necessary print out an error information.
void Vis::RenderTarget2D::createDepthbuffer |
( |
int |
width, |
|
|
int |
height | |
|
) |
| | |
Create a depth buffer for this rendertarget.
- Parameters:
-
| width | width of the depth buffer. |
| height | height of the depthbuffer. |
void Vis::RenderTarget2D::createStencilbuffer |
( |
int |
width, |
|
|
int |
height | |
|
) |
| | |
Create a stencil buffer for this rendertarget.
- Parameters:
-
| width | width of the stencil buffer. |
| height | height of the stencil buffer. |
void Vis::RenderTarget2D::disable |
( |
|
) |
|
Disable the rendertarget and restore the previous viewport size.
void Vis::RenderTarget2D::enable |
( |
|
) |
|
Enable the rendertargt and save the actual viewport size.
void Vis::RenderTarget2D::end |
( |
|
) |
|
End to draw into the render target.
The documentation for this class was generated from the following files:
- E:/Studium/vislu/abgabe2/visproj/src/rendertarget/VisRenderTarget2D.h
- E:/Studium/vislu/abgabe2/visproj/src/rendertarget/impl/VisRenderTarget2D.cpp