RenderFormatToken
Engine/source/renderInstance/renderFormatChanger.h
Public Types
enum
FormatTokenState { FTSDisabled FTSWaiting FTSActive FTSComplete }
Private Types
Parent
Public Static Attributes
Protected Attributes
mTargetChain [TargetChainLength]
mTargetColorTexture [TargetChainLength]
mTargetDepthStencilTexture [TargetChainLength]
bool
Protected Functions
bool
Protected Static Functions
const char *
_getCopyPostEffect(void * object, const char * data)
const char *
_getResolvePostEffect(void * object, const char * data)
bool
_setCopyPostEffect(void * object, const char * index, const char * data)
bool
_setResolvePostEffect(void * object, const char * index, const char * data)
Public Functions
bool
bool
onAdd()
Called when the object is added to the sim.
process(SceneRenderState * state, RenderPassStateBin * callingBin)
Public Static Functions
Detailed Description
Public Types
FormatTokenState
Enumerator
- FTSDisabled
- FTSWaiting
- FTSActive
- FTSComplete
Private Types
typedef RenderPassStateToken Parent
Public Static Attributes
const U32 TargetChainLength
Protected Attributes
GFXFormat mColorFormat
SimObjectPtr< PostEffect > mCopyPostEffect
GFXFormat mDepthFormat
FormatTokenState mFCState
SimObjectPtr< PostEffect > mResolvePostEffect
GFXTexHandle mStoredPassZTarget
NamedTexTarget mTarget
S32 mTargetAALevel
GFXTextureTargetRef mTargetChain [TargetChainLength]
U32 mTargetChainIdx
GFXTexHandle mTargetColorTexture [TargetChainLength]
GFXTexHandle mTargetDepthStencilTexture [TargetChainLength]
Point2I mTargetSize
bool mTargetUpdatePending
Protected Functions
_handleGFXEvent(GFXDevice::GFXDeviceEventType event)
_onTextureEvent(GFXTexCallbackCode code)
_teardownTargets()
_updateTargets()
Protected Static Functions
_getCopyPostEffect(void * object, const char * data)
_getResolvePostEffect(void * object, const char * data)
_setCopyPostEffect(void * object, const char * index, const char * data)
_setFmt(void * object, const char * index, const char * data)
_setResolvePostEffect(void * object, const char * index, const char * data)
Public Functions
RenderFormatToken()
~RenderFormatToken()
DECLARE_CONOBJECT(RenderFormatToken )
enable(bool enabled)
Reimplemented from: RenderPassStateToken
isEnabled()
Reimplemented from: RenderPassStateToken
onAdd()
Reimplemented from: SimObject
onRemove()
Reimplemented from: SimObject
process(SceneRenderState * state, RenderPassStateBin * callingBin)
Reimplemented from: RenderPassStateToken
reset()
Reimplemented from: RenderPassStateToken