afxParticlePool
Engine/source/afx/util/afxParticlePool.h
Classes:
Private Types
Parent
Private Attributes
Private Static Attributes
Vector< SortParticlePool >
Private Static Functions
int QSORT_CALLBACK
cmpSortParticlePool(const void * p1, const void * p2)
Protected Functions
bool
onAdd()
Called when the object is added to the sim.
pool_prepBatchRender(RenderPassManager * , const Point3F & camPos, const LinearColorF & ambientColor)
pool_renderObject_Normal(RenderPassManager * , const Point3F & camPos, const LinearColorF & ambientColor)
pool_renderObject_TwoPass(RenderPassManager * , const Point3F & camPos, const LinearColorF & ambientColor)
prepRenderImage(SceneRenderState * state)
Called when the SceneManager is ready for the registration of render instances.
renderBillboardParticle_color(Particle & , const Point3F * basePnts, const MatrixF & camView, const F32 spinFactor, const LinearColorF & color, ParticleEmitter * )
Public Functions
DECLARE_CATEGORY("AFX" )
bool
hasMatchingKeyBlock(const afxParticlePoolData * db, U32 idx)
bool
onNewDataBlock(GameBaseData * dptr, bool reload)
Called when a new datablock is set.
setKeyBlock(afxParticlePoolData * db, U32 idx)
setSortPriority(S8 priority)
Detailed Description
Private Types
typedef GameBase Parent
Private Attributes
afxChoreographer * choreographer
ParticleEmitterList emitters
afxParticlePoolData * key_block
U32 key_index
S32 mCurBuffSize
S32 mCurBuffSize2
afxParticlePoolData * mDataBlock
GFXVertexBufferHandle< GFXVertexPCT > mVertBuff
GFXVertexBufferHandle< GFXVertexPCT > mVertBuff2
S8 sort_priority
Private Static Attributes
Vector< SortParticlePool > orderedVector
Private Static Functions
cmpSortParticlePool(const void * p1, const void * p2)
Protected Functions
onAdd()
Reimplemented from: SceneObject
onRemove()
Reimplemented from: SceneObject
pool_prepBatchRender(RenderPassManager * , const Point3F & camPos, const LinearColorF & ambientColor)
pool_renderObject_Normal(RenderPassManager * , const Point3F & camPos, const LinearColorF & ambientColor)
pool_renderObject_TwoPass(RenderPassManager * , const Point3F & camPos, const LinearColorF & ambientColor)
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
renderBillboardParticle_blend(Particle & , const Point3F * basePnts, const MatrixF & camView, const F32 spinFactor, const F32 blend_factor, ParticleEmitter * )
renderBillboardParticle_color(Particle & , const Point3F * basePnts, const MatrixF & camView, const F32 spinFactor, const LinearColorF & color, ParticleEmitter * )
Public Functions
afxParticlePool()
~afxParticlePool()
addParticleEmitter(ParticleEmitter * )
DECLARE_CATEGORY("AFX" )
DECLARE_CONOBJECT(afxParticlePool )
hasMatchingKeyBlock(const afxParticlePoolData * db, U32 idx)
onNewDataBlock(GameBaseData * dptr, bool reload)
Reimplemented from: GameBase
removeParticleEmitter(ParticleEmitter * )
setChoreographer(afxChoreographer * ch)
setKeyBlock(afxParticlePoolData * db, U32 idx)
setSortPriority(S8 priority)
updatePoolBBox(ParticleEmitter * )