CREParticle

Class Hierarchy
C++
class CREParticle : public CRendElementBase;
File

CREParticle.h

CREParticle::AllocVertices Method
C++
VIRTUAL SRenderVertices* AllocVertices(int nAllocVerts, int nAllocInds);
Description

Interface to alloc render verts and indices from 3DEngine code. VIRTUAL creates regular call on staticly linked PS3, virtual call (cross-module) otherwise.

CREParticle::ComputeVertices Method
C++
void ComputeVertices(SCameraInfo camInfo, uint32 uRenderFlags, bool bisJob);
CREParticle::CREParticle Constructor ()
C++
CREParticle();
CREParticle::CREParticle Constructor (CREParticle&)
C++
CREParticle(const CREParticle& in);
Description

Custom copy constructor required to avoid m_Lock copy.

CREParticle::GetMemoryUsage Method
C++
virtual void GetMemoryUsage(ICrySizer * pSizer) const;
CREParticle::GetPixels Method
C++
float GetPixels() const;
CREParticle::mfCopyConstruct Method
C++
virtual CRendElementBase* mfCopyConstruct();
Description

CRendElement implementation.

CREParticle::mfDraw Method
C++
virtual bool mfDraw(CShader * ef, SShaderPass * sl);
CREParticle::mfPreDraw Method
C++
virtual bool mfPreDraw(SShaderPass * sl);
CREParticle::mfPrepare Method
C++
virtual void mfPrepare(bool bCheckOverflow);
Description

False - mergable, True - static mesh

CREParticle::Reset Method
C++
void Reset(IParticleVertexCreator* pVC, int nThreadId);
CREParticle::Size Method
C++
virtual int Size();