"L. Spiro Engine"
|
A bright-pass post processor. More...
#include <LSGPostProcessBrightPass.h>
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 CShader * | m_psBrightPass |
static CCriticalSection | m_csCrit |
static LSUINT32 | m_ui32RefCount |
static CShaderBase::LSG_HANDLE | m_hThresh |
static CShaderBase::LSG_HANDLE | m_hDownsamples |
A bright-pass post processor.
Class CPostProcessBrightPass Description: A bright-pass post processor.
LSBOOL LSE_CALL lsg::CPostProcessBrightPass::GetBright | ( | CColorRenderTarget & | _crtSrc | ) |
Generates the bright-pass result of the image.
_crtSrc | The source render target whose bright-pass image is to be created. |
LSE_INLINE CColorRenderTarget &LSE_CALL lsg::CPostProcessBrightPass::GetBrightPassTarget | ( | ) |
Gets the bright-pass result.
LSBOOL LSE_CALL lsg::CPostProcessBrightPass::Init | ( | LSUINT32 | _ui32Width, |
LSUINT32 | _ui32Height | ||
) | [protected] |
Initializes the shaders and render targets.
_ui32Width | New width. |
_ui32Height | New height. |
The result of the bright pass.
CCriticalSection lsg::CPostProcessBrightPass::m_csCrit [static, protected] |
Critical section for thread safety.
CShaderBase::LSG_HANDLE lsg::CPostProcessBrightPass::m_hDownsamples [static, protected] |
Handle to the downsampling points in the shader.
CShaderBase::LSG_HANDLE lsg::CPostProcessBrightPass::m_hThresh [static, protected] |
Handle to the threshhold value in the shader.
CShader* lsg::CPostProcessBrightPass::m_psBrightPass [static, protected] |
The shader for the bright pass.
LSUINT32 lsg::CPostProcessBrightPass::m_ui32RefCount [static, protected] |
Reference count on the shaders.