Torque3D Documentation / _generateds / RenderImposterMgr

RenderImposterMgr

Engine/source/renderInstance/renderImposterMgr.h

This is a special render manager for processing single billboard imposters typically generated by the tsLastDetail class.

More...

Protected Types

Protected Attributes

ImposterState
mBuffer [smImposterBatchSize *4]

Protected Functions

_renderDeferred(const SceneRenderState * state, RenderDeferredMgr * deferredBin, bool startDeferred)

Protected Static Functions

Public Functions

Public Static Functions

Detailed Description

This is a special render manager for processing single billboard imposters typically generated by the tsLastDetail class.

It tries to render them in large batches with as few state changes as possible. For an example of use see TSLastDetail::render().

Protected Types

typedef RenderBinManager Parent 

Protected Static Attributes

U32 smBatches 
U32 smDrawCalls 
const U32 smImposterBatchSize 
U32 smPolyCount 
U32 smRendered 
U32 smRTChanges 

Protected Attributes

ImposterState mBuffer [smImposterBatchSize *4]
GFXPrimitiveBufferHandle mIB 

Public Static Attributes

const RenderInstType RIT_Imposter 
const RenderInstType RIT_ImposterBatch 

Protected Functions

_innerRender(const SceneRenderState * state, RenderDeferredMgr * deferredBin)

_renderDeferred(const SceneRenderState * state, RenderDeferredMgr * deferredBin, bool startDeferred)

Protected Static Functions

_clearStats(GFXDevice::GFXDeviceEventType type)

Public Functions

RenderImposterMgr(F32 renderOrder, F32 processAddOrder)

~RenderImposterMgr()

DECLARE_CONOBJECT(RenderImposterMgr )

render(SceneRenderState * state)

Reimplemented from: RenderBinManager

Public Static Functions

initPersistFields()