class CREParticle : public CRendElementBase;
CREParticle.h
VIRTUAL SRenderVertices* AllocVertices(int nAllocVerts, int nAllocInds);
Interface to alloc render verts and indices from 3DEngine code. VIRTUAL creates regular call on staticly linked PS3, virtual call (cross-module) otherwise.
void ComputeVertices(SCameraInfo camInfo, uint32 uRenderFlags, bool bisJob);
CREParticle();
CREParticle(const CREParticle& in);
Custom copy constructor required to avoid m_Lock copy.
virtual void GetMemoryUsage(ICrySizer * pSizer) const;
float GetPixels() const;
virtual CRendElementBase* mfCopyConstruct();
CRendElement implementation.
virtual bool mfDraw(CShader * ef, SShaderPass * sl);
virtual bool mfPreDraw(SShaderPass * sl);
virtual void mfPrepare(bool bCheckOverflow);
False - mergable, True - static mesh
void Reset(IParticleVertexCreator* pVC, int nThreadId);
virtual int Size();