Torque3D Documentation / _generateds / RenderFormatToken

RenderFormatToken

Engine/source/renderInstance/renderFormatChanger.h

More...

Public Types

enum
FormatTokenState {
  FTSDisabled 
  FTSWaiting 
  FTSActive 
  FTSComplete 
}

Private Types

Public Static Attributes

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
_setFmt(void * object, const char * index, const char * data)
bool
_setResolvePostEffect(void * object, const char * index, const char * data)

Public Functions

enable(bool enabled)
bool
bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

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

Public Static Functions

initPersistFields()