RenderParticleMgr
Engine/source/renderInstance/renderParticleMgr.h
Classes:
Private Types
Parent
Public Friends
class
Public Static Attributes
Protected Attributes
mBackbufferBlocks [ParticleRenderInst::BlendStyle_COUNT]
The deferred render target used for the soft particle shader effect.
mHighResBlocks [ParticleRenderInst::BlendStyle_COUNT]
mMixedResBlocks [ParticleRenderInst::BlendStyle_COUNT]
mOffscreenBlocks [ParticleRenderInst::BlendStyle_COUNT]
The shader used for particle rendering.
GFXVertexBufferHandle< CompositeQuadVert >
Public Functions
RenderParticleMgr(F32 renderOrder, F32 processAddOrder)
addElement(RenderInst * inst)
render(SceneRenderState * state)
renderParticle(ParticleRenderInst * ri, SceneRenderState * state)
setTargetChainLength(const U32 chainLength)
Protected Functions
bool
bool
_onLMActivate(const char * , bool activate)
renderInstance(ParticleRenderInst * ri, SceneRenderState * state)
Detailed Description
Private Types
typedef RenderTexTargetBinManager Parent
Public Friends
Public Static Attributes
const U8 HighResStencilRef
const U32 OffscreenPoolSize
const U8 ParticleSystemStencilMask
const RenderInstType RIT_Particles
Protected Attributes
GFXStateBlockRef mBackbufferBlocks [ParticleRenderInst::BlendStyle_COUNT]
NamedTexTargetRef mDeferredTarget
The deferred render target used for the soft particle shader effect.
NamedTexTargetRef mEdgeTarget
GFXStateBlockRef mHighResBlocks [ParticleRenderInst::BlendStyle_COUNT]
GFXStateBlockRef mMixedResBlocks [ParticleRenderInst::BlendStyle_COUNT]
GFXStateBlockRef mOffscreenBlocks [ParticleRenderInst::BlendStyle_COUNT]
bool mOffscreenRenderEnabled
Vector< OffscreenSystemEntry > mOffscreenSystems
GFXShaderRef mParticleCompositeShader
struct RenderParticleMgr::CompositeShaderConsts mParticleCompositeShaderConsts
GFXShaderRef mParticleShader
The shader used for particle rendering.
struct RenderParticleMgr::ShaderConsts mParticleShaderConsts
GFXPrimitiveBufferHandle mScreenQuadPrimBuff
GFXVertexBufferHandle< CompositeQuadVert > mScreenQuadVertBuff
GFXStateBlockRef mStencilClearSB
Public Functions
RenderParticleMgr()
RenderParticleMgr(F32 renderOrder, F32 processAddOrder)
~RenderParticleMgr()
_getCompositeStateBlock(ParticleRenderInst * ri)
_getHighResStateBlock(ParticleRenderInst * ri)
_getMixedResStateBlock(ParticleRenderInst * ri)
_getOffscreenStateBlock(ParticleRenderInst * ri)
_getShaderConsts()
addElement(RenderInst * inst)
Reimplemented from: RenderBinManager
clear()
Reimplemented from: RenderBinManager
DECLARE_CONOBJECT(RenderParticleMgr )
render(SceneRenderState * state)
Reimplemented from: RenderBinManager
renderParticle(ParticleRenderInst * ri, SceneRenderState * state)
setTargetChainLength(const U32 chainLength)
Reimplemented from: RenderTexTargetBinManager
sort()
Reimplemented from: RenderBinManager
Protected Functions
_handleGFXEvent(GFXDevice::GFXDeviceEventType event)
Reimplemented from: RenderTexTargetBinManager
_initGFXResources()
_initShader()
_onLMActivate(const char * , bool activate)
renderInstance(ParticleRenderInst * ri, SceneRenderState * state)