Torque3D Documentation / _generateds / PostEffectManager

PostEffectManager

Engine/source/postFx/postEffectManager.h

More...

Protected Types

EffectMap 
EffectVector 

Public Friends

class

Protected Static Attributes

bool

A global flag for toggling the post effect system.

Protected Attributes

Protected Static Functions

Public Functions

Returns the current back buffer texture taking a copy of if the target has changed or the buffer was previously released.

Releases the current back buffer so that a new copy is made on the next request.

setFrameMatrices(const MatrixF & worldToCamera, const MatrixF & cameraToScreen)

Public Static Functions

Detailed Description

Protected Types

typedef Map< String, EffectVector > EffectMap 
typedef Vector< PostEffect * > EffectVector 

Public Friends

Protected Static Attributes

bool smRenderEffects 

A global flag for toggling the post effect system.

It is tied to the $pref::enablePostEffects preference.

Protected Attributes

EffectMap mAfterBinMap 
EffectVector mAfterDiffuseList 
GFXTexHandle mBackBufferCopyTex 

A copy of the last requested back buffer.

EffectMap mBeforeBinMap 
EffectVector mEndOfFrameList 
PFXFrameState mFrameState [2]
bool mFrameStateSwitch 
GFXTarget * mLastBackBufferTarget 

The target at the time the last back buffer was copied.

Used to detect the need to recopy.

Protected Functions

_addEffect(PostEffect * effect)

_handleBinEvent(RenderBinManager * bin, const SceneRenderState * sceneState, bool isBinStart)

_handleDeviceEvent(GFXDevice::GFXDeviceEventType evt)

_onPostRenderPass(SceneManager * sceneGraph, const SceneRenderState * sceneState)

_removeEffect(PostEffect * effect)

_updateResources()

Protected Static Functions

_effectPrioritySort(PostEffect *const * e1, PostEffect *const * e2)

Public Functions

PostEffectManager()

~PostEffectManager()

dumpActivePostFX()

getBackBufferTex()

Returns the current back buffer texture taking a copy of if the target has changed or the buffer was previously released.

getFrameState()

getLastFrameState()

releaseBackBufferTex()

Releases the current back buffer so that a new copy is made on the next request.

renderEffects(const SceneRenderState * state, const PFXRenderTime effectTiming, const String & binName)

setFrameMatrices(const MatrixF & worldToCamera, const MatrixF & cameraToScreen)

setFrameState(const PFXFrameState & newState)

Public Static Functions

getSingletonName()