"L. Spiro Engine"
Public Member Functions | Static Public Member Functions | Protected Attributes

lsg::CRenderTargetBase Class Reference

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>

Inheritance diagram for lsg::CRenderTargetBase:
lsg::CRenderTargetInterface lsg::CDirectX11DepthStencilRenderTarget lsg::CDirectX11RenderTarget lsg::CDepthStencilRenderTarget lsg::CColorRenderTarget

List of all members.

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

Detailed Description

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.


Member Function Documentation

static LSBOOL LSE_CALL lsg::CRenderTargetBase::ComponentHasStencil ( LSG_RENDER_TARGET_FORMAT  _rtfFormat) [static]

Is the given format a stencil format?

Parameters:
_rtfFormatThe format to check for containing a stencil component.
Returns:
Returns true if there is a stencil component in the given format.
LSE_INLINE LSG_RENDER_TARGET_FORMAT LSE_CALL lsg::CRenderTargetBase::GetFormat ( ) const

Get the format of the surface.

Returns:
Returns the format of the surface.

Member Data Documentation

The format of the render target.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator