nw::gfx::ParticleCollection Class

Syntax

class ParticleCollection : public nw::gfx::GfxObject

Description

Class that represents information about particles within a particle system.

Member Variables

NW_UT_RUNTIME_TYPEINFO

Member Functions

Create/Destroy
S Create Creates ParticleCollection nodes from resources.
S GetMemorySize Gets the memory size required at time of creation.
S GetDeviceMemorySize Gets the device memory size required at time of creation.
Destroy Destroys an object.(Derived from GfxObject.
Set/Get
GetResParticleCollection Gets the resource.
GetCapacity Gets the maximum number of particles.
GetCount Gets the number of particles.
SetCount Sets the number of particles.
IsStream Checks whether the specified attribute is a stream.
GetStreamPtr Gets the pointer to the stream for the specified attribute.
GetParameterPtr Gets the pointer to the parameter for the specified attribute.
SetLifeParameter Sets the PARTICLEUSAGE_LIFE parameter.
GetStreamOrParameter Gets the stream or parameter for the specified attribute.
Clear This function clears all streams.
SwapBuffer Swaps the target buffer (switches from the calculation buffer to the render buffer, or vice versa).
KillParticle Removes the particle having the specified index. The particle is actually removed during the next deletion process. If child particle emission occurs before that, it is handled at shutdown.
Constructors and Destructors
protected ParticleCollection Constructor.
protected V ~ParticleCollection Destructor.

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::ParticleCollection


CONFIDENTIAL