Hilo3d API - v2.0.0-alpha.4
    Preparing search index...

    Interface ForwardRenderPipelineFeatureRuntime

    Renderer-local feature state created by a reusable feature configuration.

    interface ForwardRenderPipelineFeatureRuntime {
        usesRenderGraphTimeline?: boolean;
        destroy(): void;
        frameDiscarded?(frameIndex: number): void;
        frameSubmitted?(frameIndex: number): void;
        getSceneScale?(): number;
        record(context: ForwardRenderFeatureContext): unknown;
        recordRenderGraphTimeline?(
            snapshot: Readonly<RenderGraphTimelineSnapshot>,
        ): void;
        requiresSampledDepth?(context: RenderPipelineContext): boolean;
        requiresSplitScene?(context: RenderPipelineContext): boolean;
    }
    Index
    usesRenderGraphTimeline?: boolean

    Enable internal Render Graph timing when this feature actively consumes it.

    • Roll back feature-owned temporal CPU state when recording or submission is discarded.

      Parameters

      • frameIndex: number

      Returns void

    • Return this frame's scene scale. The value must stay between the feature's declared sceneScale floor and one. Omit for fixed-resolution features.

      Returns number