nw::gfx::ParticleShape Class

Syntax

class ParticleShape : public nw::gfx::SceneObject

Description

Class that represents particle shapes.

Use ParticleCollection, not this class.

Member Constants

S DEFAULT_MAX_CHILDREN Maximum number of children when a fixed amount of memory is used.(Derived from SceneObject.
S DEFAULT_MAX_CALLBACKS Maximum number of callbacks when a fixed amount of memory is used.(Derived from SceneObject.
S MAX_NAME_LENGTH Limit on names of scene objects.(Derived from SceneObject.

Member Variables

NW_UT_RUNTIME_TYPEINFO
m_CommandCache
m_CommandCacheSize
m_DeactivateVertexCommandCache
m_DeactivateVertexCommandCacheSize
m_PrimitiveCommandCache
m_PrimitiveCommandCacheSize

Member Functions

Creation
S Create Creates a particle shape node from a resource.
S GetMemorySize Gets the memory size required at time of creation.
S GetDeviceMemorySize Gets the device memory size required at time of creation.
Set/Get
GetResParticleShape Gets the resource.
GetVertexAttributesCount Gets the number of vertex attributes.
IsVertexStream Checks if the vertex attribute is a stream.
GetVertexAttributeUsage Gets the vertex attributes usage type.
GetVertexAttributeFormatType Gets the vertex attributes format.
GetVertexAttributeDimension Gets the vertex attributes dimension.
GetVertexStreamPtr Gets a pointer to a stream of vertex attributes.
GetVertexParameter Gets the vertex attributes parameters.
SetVertexAttributeCommandPtr : private
GetPrimitiveStreamPtr Gets a pointer to a stream of primitives.
GetVertexCapacity Gets the maximum number of particles that can be stored in each stream.
SetBufferSide Swaps the target buffer (switches from the calculation buffer to the render buffer, or vice versa).
GetBufferSide Gets the front side buffer number.
Resources
GetResSceneObject Gets the scene object resource.(Derived from SceneObject.
GetName Gets the name from the resource.(Derived from SceneObject.
Create/Destroy
Destroy Destroys an object.(Derived from GfxObject.
Constructors and Destructors
protected ParticleShape Constructor.
protected V ~ParticleShape Destructor.

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::SceneObject
    nw::gfx::ParticleShape


CONFIDENTIAL