#include <RenderTarget.h>
Enumerator |
---|
RenderOnscreen |
Render to the main framebuffer. Supports readback targets.
|
RenderOffscreen |
Render to an offscreen buffer. Supports readback targets.
|
RenderToTexture |
Render to a texture. Supports texture and readback targets.
|
omega::RenderTarget::~RenderTarget |
( |
| ) |
|
|
protected |
void omega::RenderTarget::bind |
( |
| ) |
|
void omega::RenderTarget::clear |
( |
| ) |
|
void omega::RenderTarget::clearColor |
( |
bool |
enabled | ) |
|
void omega::RenderTarget::clearDepth |
( |
bool |
enabled | ) |
|
virtual void omega::RenderTarget::dispose |
( |
| ) |
|
|
virtual |
int omega::RenderTarget::getHeight |
( |
| ) |
|
GLuint omega::RenderTarget::getId |
( |
| ) |
|
|
inline |
PixelData* omega::RenderTarget::getOffscreenColorTarget |
( |
| ) |
|
|
inline |
PixelData* omega::RenderTarget::getOffscreenDepthTarget |
( |
| ) |
|
|
inline |
Texture* omega::RenderTarget::getTextureColorTarget |
( |
| ) |
|
|
inline |
Texture* omega::RenderTarget::getTextureDepthTarget |
( |
| ) |
|
|
inline |
int omega::RenderTarget::getWidth |
( |
| ) |
|
Render target configuration.
bool omega::RenderTarget::isBound |
( |
| ) |
|
|
inline |
void omega::RenderTarget::readback |
( |
| ) |
|
void omega::RenderTarget::setReadbackTarget |
( |
PixelData * |
color, |
|
|
PixelData * |
depth = NULL |
|
) |
| |
void omega::RenderTarget::setReadbackTarget |
( |
PixelData * |
color, |
|
|
PixelData * |
depth, |
|
|
const Rect & |
readbackViewport |
|
) |
| |
void omega::RenderTarget::setTextureTarget |
( |
Texture * |
color, |
|
|
Texture * |
depth = NULL |
|
) |
| |
void omega::RenderTarget::unbind |
( |
| ) |
|
The documentation for this class was generated from the following file: