"L. Spiro Engine"
|
A render target, different from a texture that is a render target in that this implementation is more like a back-buffer, not to be used as a texture on a model or sprite. More...
#include <LSGRenderTargetBase.h>
Public Member Functions | |
LSE_INLINE LSG_RENDER_TARGET_FORMAT LSE_CALL | GetFormat () const |
Static Public Member Functions | |
static LSBOOL LSE_CALL | ComponentHasStencil (LSG_RENDER_TARGET_FORMAT _rtfFormat) |
Protected Attributes | |
LSG_RENDER_TARGET_FORMAT | m_rtfFormat |
A render target, different from a texture that is a render target in that this implementation is more like a back-buffer, not to be used as a texture on a model or sprite.
Class CRenderTargetBase Description: A render target, different from a texture that is a render target in that this implementation is more specific to rendering to a surface. A texture that acts as a render target is typically primarily a texture first and a render target second. Rendering to the texture will typically not take place every frame and it will be attached to a model or sprite for display on something. In contrast, this render target implementation is meant specifically to be a target of rendering for post- processing and other effects. It will not be used as a texture for an object or sprite.
static LSBOOL LSE_CALL lsg::CRenderTargetBase::ComponentHasStencil | ( | LSG_RENDER_TARGET_FORMAT | _rtfFormat | ) | [static] |
Is the given format a stencil format?
_rtfFormat | The format to check for containing a stencil component. |
LSE_INLINE LSG_RENDER_TARGET_FORMAT LSE_CALL lsg::CRenderTargetBase::GetFormat | ( | ) | const |
Get the format of the surface.
The format of the render target.