GpuParticleRenderer
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Parameters
emitter: GpuParticleEmitter
random: Random
options: GpuParticleConfig
Returns GpuParticleRenderer
Properties
emitRate
emitter
particle
staticreadonlyGPU_MAX_PARTICLES
Accessors
publicisInitialized
Returns boolean
publicmaxParticles
Returns number
Methods
draw
Parameters
gl: WebGL2RenderingContext
Returns void
emitParticles
Parameters
particleCount: number
Returns void
initialize
Parameters
gl: WebGL2RenderingContext
context: ExcaliburGraphicsContextWebGL
Returns void
update
Parameters
elapsedMs: number
Returns void
Container for the GPU Particle State contains the internal state needed for the GPU to render particles and maintain state.