Documentation
    Preparing search index...

    Interface WgpuParticleRecord

    Everything one particle system needs at draw time.

    interface WgpuParticleRecord {
        buffer: GpuBuffer;
        capacityFloats: number;
        uploadedFrame: number;
    }
    Index
    buffer: GpuBuffer

    The per-system instance buffer, allocated at the system's full capacity.

    capacityFloats: number

    Floats the buffer was allocated for — the system's capacity × 8.

    uploadedFrame: number

    The renderer frame ordinal of the last upload — the once-per-frame gate (see the module header on the cadence deviation from GL). 0 on a fresh record; the renderer's ordinal starts at 1.