OptionalcomputeOptionalcomputeGPU compute pipeline for WebGPU simulation. Opaque type to avoid pulling TSL types into DTS.
OptionalonCalled when a particle is born to trigger birth sub-emitters
OptionalonCalled when a particle dies to trigger death sub-emitters
Shared interleaved Float32Array backing all scalar per-particle attributes.
The InterleavedBuffer (or InstancedInterleavedBuffer) for scalar attributes.
OptionaltrailTrail geometry alpha attribute
OptionaltrailTrail geometry color attribute
OptionaltrailTrail color-over-trail curve functions (r, g, b multipliers)
OptionaltrailTrail config (length, width, and advanced features)
OptionaltrailTrail geometry half-width attribute (cached)
OptionaltrailTrail mesh for RendererType.TRAIL
OptionaltrailTrail geometry next-position attribute (cached to avoid repeated getAttribute)
OptionaltrailTrail opacity curve function
OptionaltrailTrail geometry position attribute
OptionaltrailTrail geometry UV attribute (cached)
OptionaltrailTrail width curve function
OptionaluseWhether this system uses GPU compute for simulation.
Flag set by update loop, consumed by onBeforeRender to dispatch compute.