RenderImposterMgr
Engine/source/renderInstance/renderImposterMgr.h
This is a special render manager for processing single billboard imposters typically generated by the tsLastDetail class.
Protected Types
Parent
Protected Static Attributes
Protected Attributes
ImposterState
mBuffer [smImposterBatchSize *4]
Public Static Attributes
Protected Functions
_innerRender(const SceneRenderState * state, RenderDeferredMgr * deferredBin)
_renderDeferred(const SceneRenderState * state, RenderDeferredMgr * deferredBin, bool startDeferred)
Protected Static Functions
bool
Public Functions
RenderImposterMgr(F32 renderOrder, F32 processAddOrder)
render(SceneRenderState * state)
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