nw::demo::ParticleEffect Class

Syntax

class ParticleEffect

Description

Particle set for a single expression.

Member Functions

Initialization/Shutdown
S Create Creates a ParticleEffect class.
Destroy Destroys a ParticleEffect class.
Setup Sets up a resource.
Register Registers nodes with the names specified by the resource as management targets.
ParticleEffect Constructor.
~ParticleEffect Destructor.
Shader Binary Management
S InitializeShaderBinary Loads an external shader file.
S FinalizeShaderBinary Destroys a loaded external shader file.
Generating/Destroying
CreateMultiEmitterParticleHandle Generates a ParticleHandle.
LeaseInstance Leases (rents) an already created ParticleHandle instance.
ReleaseInstance Returns the leased ParticleHandle.
DestroyParticleNode
Get
GetActiveEffect Gets an effect leased by index.
ResetParticle Initializes a node.
Instance Pool
GetPoolSize Gets the total number of instances already allocated including those being leased.
GetFreeSize Gets the number of free instances not being leased.
GetActiveSize Gets the number of instances being leased.
AddPool Newly pools the specified number of instances.
FreePool Destroys all instances other than those being leased.

CONFIDENTIAL