|
"L. Spiro Engine"
|
The base class for the post processor. More...
#include <LSGPostProcessorBase.h>
Public Member Functions | |
| LSBOOL LSE_CALL | ActivateHdrRenderTarget () |
| LSVOID LSE_CALL | Present () |
| LSVOID LSE_CALL | Tick (LSUINT64 _ui64Time) |
| LSE_INLINE CColorRenderTarget &LSE_CALL | GetDepthColorCopy () |
| LSE_INLINE CDepthStencilRenderTarget &LSE_CALL | GetDepthStencilTarget () |
Protected Member Functions | |
| LSBOOL LSE_CALL | Init () |
Protected Attributes | |
| CColorRenderTarget | m_crtHdrColor |
| CDepthStencilRenderTarget | m_dsrtHdrDepth |
| CColorRenderTarget | m_crtHdrDepthColorVersion |
| CColorRenderTarget | m_crtHdrNormals |
| CShader | m_sBlitShader |
| CPostProcessLuminance | m_pplLuminance |
| CPostProcessBrightPass | m_ppbpBright |
| CPostProcessHorBlur | m_pphbHorBlur |
| CPostProcessVertBlur | m_ppvbVertBlur |
| LSUINT64 | m_ui64Time |
Static Protected Attributes | |
| static CShader * | m_psCombiner |
| static CCriticalSection | m_csCrit |
| static LSUINT32 | m_ui32RefCount |
| static CShaderBase::LSG_HANDLE | m_hExposure |
| static CShaderBase::LSG_HANDLE | m_hGaussianScalar |
| static CShaderBase::LSG_HANDLE | m_hInvBloomW |
| static CShaderBase::LSG_HANDLE | m_hInvBloomH |
The base class for the post processor.
Class CPostProcessorBase Description: The base class for the post processor.
| LSBOOL LSE_CALL lsg::CPostProcessorBase::ActivateHdrRenderTarget | ( | ) |
Activates the color render target in preparation for HDR rendering.
| LSE_INLINE CColorRenderTarget &LSE_CALL lsg::CPostProcessorBase::GetDepthColorCopy | ( | ) |
Gets the depth copy texture.
| LSE_INLINE CDepthStencilRenderTarget &LSE_CALL lsg::CPostProcessorBase::GetDepthStencilTarget | ( | ) |
Gets the depth texture.
| LSBOOL LSE_CALL lsg::CPostProcessorBase::Init | ( | ) | [protected] |
Initializes the shaders and render targets.
| LSVOID LSE_CALL lsg::CPostProcessorBase::Present | ( | ) |
Blits from the post-processing buffer to the main screen buffer.
| LSVOID LSE_CALL lsg::CPostProcessorBase::Tick | ( | LSUINT64 | _ui64Time | ) |
Advances this shader system and all systems it uses by the given number of microseconds.
| _ui64Time | The number of microseconds by which to advance the shader system. |
The HDR color render target.
If reading from the depth buffer is possible, this is not used. Otherwise this is a readable copy of the depth buffer.
A copy of the normals in the scene.
CCriticalSection lsg::CPostProcessorBase::m_csCrit [static, protected] |
Critical section for thread safety.
The HDR depth surface.
CShaderBase::LSG_HANDLE lsg::CPostProcessorBase::m_hExposure [static, protected] |
Handle to the exposure value.
CShaderBase::LSG_HANDLE lsg::CPostProcessorBase::m_hGaussianScalar [static, protected] |
Handle to the gaussian scalar.
CShaderBase::LSG_HANDLE lsg::CPostProcessorBase::m_hInvBloomH [static, protected] |
Handle to the inverse bloom height.
CShaderBase::LSG_HANDLE lsg::CPostProcessorBase::m_hInvBloomW [static, protected] |
Handle to the inverse bloom width.
The bright pass handler.
The horizontal blur pass.
The luminance handler.
The vertical blur pass.
CShader* lsg::CPostProcessorBase::m_psCombiner [static, protected] |
The shader for the blue.
CShader lsg::CPostProcessorBase::m_sBlitShader [protected] |
The shader used to blit the result of post-processing to the main screen buffer.
LSUINT32 lsg::CPostProcessorBase::m_ui32RefCount [static, protected] |
Reference count on the shaders.
LSUINT64 lsg::CPostProcessorBase::m_ui64Time [protected] |
Microseconds of advancement.
1.7.3