"L. Spiro Engine"
Public Member Functions

lsg::CColorRenderTarget Class Reference

A color render target. More...

#include <LSGColorRenderTarget.h>

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

List of all members.

Public Member Functions

CColorRenderTarget &LSE_CALL operator= (const CColorRenderTarget &_crtOther) throw ( ... )
LSBOOL LSE_CALL CreateColorRenderTarget (LSUINT32 _ui32Width, LSUINT32 _ui32Height, LSG_RENDER_TARGET_FORMAT _rtfFormat)
LSVOID LSE_CALL Reset ()

Detailed Description

A color render target.

Class CColorRenderTarget Description: A color render target. Used for off-screen rendering.


Member Function Documentation

LSBOOL LSE_CALL lsg::CColorRenderTarget::CreateColorRenderTarget ( LSUINT32  _ui32Width,
LSUINT32  _ui32Height,
LSG_RENDER_TARGET_FORMAT  _rtfFormat 
)

Creates a color render target.

Parameters:
_ui32WidthWidth of the color render target.
_ui32HeightHeight of the color render target.
_rtfFormatFormat of the color render target.
Returns:
Returns false if the color render target could not be created.
CColorRenderTarget& LSE_CALL lsg::CColorRenderTarget::operator= ( const CColorRenderTarget _crtOther) throw ( ... )

The copy operator.

Parameters:
_crtOtherThe object to copy.
Returns:
Returns a reference to this object after the copy. Throws LSSTD_E_OUTOFMEMORY on failure.
LSVOID LSE_CALL lsg::CColorRenderTarget::Reset ( )

Resets everything back to scratch.


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