Taos API Reference
    Preparing search index...

    Class VelocityFeature

    Generates the shared screen-space velocity buffer once per frame and exposes it on Frame.velocity. Re-rasterizes the frame's mesh + skinned-mesh draws with the current and previous view-projection + model/joint matrices into an rg16float UV-delta target (camera and per-object motion).

    Consumers — TAAFeature (reprojects history along motion to kill object ghosting) and MotionBlurFeature (per-object blur) — read frame.velocity instead of each owning a VelocityPass. Register this BEFORE those features so the buffer exists when they build their passes; it also needs frame.depth, so it must come after the geometry/forward feature.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: string = VelocityFeature.name

    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: VelocityPass | null = null

    Methods