Documentation
    Preparing search index...

    Interface WgpuParticleSimulationOptions

    Options of WebgpuRenderer.createParticleSimulation.

    interface WgpuParticleSimulationOptions {
        capacity: number;
        label?: string;
        systemId: string;
    }
    Index
    capacity: number

    Pool capacity in particles — must equal the emitter's, and bindGpuSimulation re-checks the pairing from the other side. A positive safe integer.

    label?: string

    Diagnostic name, echoed on buffer and pass labels.

    systemId: string

    The emitting node's stable id (ParticleDrawable.id) — the key the renderer's draw path joins on, exactly as WgpuParticleCache keys the instance buffer. One simulation per system id.