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

lsg::CPostProcessBrightPass Class Reference

A bright-pass post processor. More...

#include <LSGPostProcessBrightPass.h>

List of all members.

Public Member Functions

LSBOOL LSE_CALL GetBright (CColorRenderTarget &_crtSrc)
LSE_INLINE CColorRenderTarget
&LSE_CALL 
GetBrightPassTarget ()

Protected Member Functions

LSBOOL LSE_CALL Init (LSUINT32 _ui32Width, LSUINT32 _ui32Height)

Protected Attributes

CColorRenderTarget m_crtBrightPass

Static Protected Attributes

static CShaderm_psBrightPass
static CCriticalSection m_csCrit
static LSUINT32 m_ui32RefCount
static CShaderBase::LSG_HANDLE m_hThresh
static CShaderBase::LSG_HANDLE m_hDownsamples

Detailed Description

A bright-pass post processor.

Class CPostProcessBrightPass Description: A bright-pass post processor.


Member Function Documentation

LSBOOL LSE_CALL lsg::CPostProcessBrightPass::GetBright ( CColorRenderTarget _crtSrc)

Generates the bright-pass result of the image.

Parameters:
_crtSrcThe source render target whose bright-pass image is to be created.
LSE_INLINE CColorRenderTarget &LSE_CALL lsg::CPostProcessBrightPass::GetBrightPassTarget ( )

Gets the bright-pass result.

Returns:
Returns the result of the bright pass.
LSBOOL LSE_CALL lsg::CPostProcessBrightPass::Init ( LSUINT32  _ui32Width,
LSUINT32  _ui32Height 
) [protected]

Initializes the shaders and render targets.

Parameters:
_ui32WidthNew width.
_ui32HeightNew height.
Returns:
Returns true if the shaders and render targets were initialized.

Member Data Documentation

The result of the bright pass.

CCriticalSection lsg::CPostProcessBrightPass::m_csCrit [static, protected]

Critical section for thread safety.

Handle to the downsampling points in the shader.

Handle to the threshhold value in the shader.

The shader for the bright pass.

LSUINT32 lsg::CPostProcessBrightPass::m_ui32RefCount [static, protected]

Reference count on the shaders.


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