My Project
|
particle element More...
#include <BlockPieceParticle.h>
Public Types | |
typedef ParaEngine::weak_ptr< IObject, CBlockPieceParticle > | WeakPtr_type |
Public Member Functions | |
CBlockPieceParticleElement (CBlockPieceParticle *pParent) | |
virtual int | RenderParticle (SPRITEVERTEX **pVertexBuffer, SceneState *pSceneState) |
generate particle sprite vertex into the vertex buffer based on current camera setting (bill boarding). More... | |
virtual TextureEntity * | GetTexture () |
virtual bool | IsPointTexture () |
virtual bool | IsAlphaTested () |
![]() | |
void | addref () const |
add reference count of the object. More... | |
bool | delref () const |
decrease reference count of the object. More... | |
int | GetRefCount () const |
get the reference count | |
virtual int | Release () |
CRefCounted * | AddToAutoReleasePool () |
addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More... | |
Protected Attributes | |
WeakPtr_type | m_pParent |
![]() | |
TextureEntity * | m_pTexture |
![]() | |
int | m_refcount |
Additional Inherited Members | |
![]() | |
static void | SetParticleVertex (SPRITEVERTEX &vert, float x, float y, float z, float u, float v, DWORD color) |
particle element
|
virtual |
generate particle sprite vertex into the vertex buffer based on current camera setting (bill boarding).
Implements ParaEngine::CParticleElement.