CrystalSpace

Public API Reference

CS::RenderManager::PostEffectsSupport Class Reference

Add post effects support to a render manager. More...

#include <csplugincommon/rendermanager/posteffectssupport.h>

Inheritance diagram for CS::RenderManager::PostEffectsSupport:

List of all members.

Public Member Functions

void Initialize (iObjectRegistry *objectReg, const char *configKey)
 Initialize post processing effects support.
iRenderManagerPostEffects implementation



void AddPostEffect (iPostEffect *effect)
 Sets the depth buffer so that the post effect can access the depth.
csPtr< iPostEffectCreatePostEffect (const char *name) const
 Sets the depth buffer so that the post effect can access the depth.
void DrawPostEffects (RenderTreeBase &renderTree)
 Sets the depth buffer so that the post effect can access the depth.
size_t FindPostEffect (const char *name) const
 Sets the depth buffer so that the post effect can access the depth.
iTextureHandleGetDepthTarget () const
 Sets the depth buffer so that the post effect can access the depth.
iTextureHandleGetEffectsOutputTarget () const
 Sets the depth buffer so that the post effect can access the depth.
iPostEffectGetPostEffect (size_t index)
 Sets the depth buffer so that the post effect can access the depth.
size_t GetPostEffectCount () const
 Sets the depth buffer so that the post effect can access the depth.
iTextureHandleGetScreenTarget () const
 Sets the depth buffer so that the post effect can access the depth.
bool InsertPostEffect (iPostEffect *effect, size_t index)
 Sets the depth buffer so that the post effect can access the depth.
bool RemovePostEffect (iPostEffect *effect)
 Sets the depth buffer so that the post effect can access the depth.
bool RemovePostEffect (size_t index)
 Sets the depth buffer so that the post effect can access the depth.
bool ScreenSpaceYFlipped () const
 Sets the depth buffer so that the post effect can access the depth.
void SetDepthBuffer (iTextureHandle *depth)
 Sets the depth buffer so that the post effect can access the depth.
void SetEffectsOutputTarget (iTextureHandle *tex)
 Sets the depth buffer so that the post effect can access the depth.
void SetPostEffectsEnabled (bool status)
 Sets the depth buffer so that the post effect can access the depth.
bool SetupView (iView *view, CS::Math::Matrix4 &perspectiveFixup)
 Sets the depth buffer so that the post effect can access the depth.

Detailed Description

Add post effects support to a render manager.

Usage:

Definition at line 43 of file posteffectssupport.h.


Member Function Documentation

void CS::RenderManager::PostEffectsSupport::AddPostEffect ( iPostEffect effect  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

csPtr<iPostEffect> CS::RenderManager::PostEffectsSupport::CreatePostEffect ( const char *  name  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

void CS::RenderManager::PostEffectsSupport::DrawPostEffects ( RenderTreeBase renderTree  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

size_t CS::RenderManager::PostEffectsSupport::FindPostEffect ( const char *  name  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

iTextureHandle* CS::RenderManager::PostEffectsSupport::GetDepthTarget (  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

iTextureHandle* CS::RenderManager::PostEffectsSupport::GetEffectsOutputTarget (  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

iPostEffect* CS::RenderManager::PostEffectsSupport::GetPostEffect ( size_t  index  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

size_t CS::RenderManager::PostEffectsSupport::GetPostEffectCount (  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

iTextureHandle* CS::RenderManager::PostEffectsSupport::GetScreenTarget (  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

void CS::RenderManager::PostEffectsSupport::Initialize ( iObjectRegistry objectReg,
const char *  configKey 
)

Initialize post processing effects support.

Parameters:
objectReg Object registry.
configKey Render manager configuration key.
bool CS::RenderManager::PostEffectsSupport::InsertPostEffect ( iPostEffect effect,
size_t  index 
) [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

bool CS::RenderManager::PostEffectsSupport::RemovePostEffect ( iPostEffect effect  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

bool CS::RenderManager::PostEffectsSupport::RemovePostEffect ( size_t  index  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

bool CS::RenderManager::PostEffectsSupport::ScreenSpaceYFlipped (  )  const [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

void CS::RenderManager::PostEffectsSupport::SetDepthBuffer ( iTextureHandle depth  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

void CS::RenderManager::PostEffectsSupport::SetEffectsOutputTarget ( iTextureHandle tex  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

void CS::RenderManager::PostEffectsSupport::SetPostEffectsEnabled ( bool  status  )  [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.

bool CS::RenderManager::PostEffectsSupport::SetupView ( iView view,
CS::Math::Matrix4 perspectiveFixup 
) [virtual]

Sets the depth buffer so that the post effect can access the depth.

If passed a nullptr(or not set) the manager will automatically allocate and provide one.

Implements iRenderManagerPostEffects.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1