Taos API Reference
    Preparing search index...

    Class ParticleFeature

    Wraps ParticlePass as a RenderFeature. Reads frame.depth (set by whichever geometry/forward feature ran before), loads frame.hdr, and writes the blended HDR back into frame.hdr.

    For configs with renderer.type === 'mesh', the underlying ParticlePass needs a ForwardPass reference (to borrow its lighting + IBL bind group). The feature locates the engine's ForwardLitFeature during setup and passes its pass through. Register the ParticleFeature AFTER the forward-lit feature.

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    name: string

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    pass: ParticlePass | null = null

    Accessors

    Methods