Documentation
    Preparing search index...

    Interface RenderPassContext

    What a CustomRenderPass is handed besides the renderer.

    Deliberately small: a pass that needs more should close over it. The record is rebuilt per pass per frame, so retaining it is safe but pointless — interpolation inside it is the caller's per-frame scratch record and obeys the same read-during-the-call rule RenderInterpolation states.

    interface RenderPassContext {
        graph: RenderGraph;
        interpolation: RenderInterpolation | undefined;
        name: string;
    }
    Index

    The graph executing it, so a pass can reach its siblings' targets.

    interpolation: RenderInterpolation | undefined

    The §43 interpolation record for this frame, or undefined when the caller passed none — forward it to renderer.render unchanged, or a hand-written pass silently renders un-interpolated poses beside interpolated ones.

    name: string

    The name this pass was added under.