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

    Interface ForwardRenderPipelineResources

    Callback-scoped forward resources visible only during one synchronous feature record call.

    interface ForwardRenderPipelineResources {
        color: RenderGraphTextureHandle | null;
        colorEncoding: RenderColorEncoding;
        depth: RenderGraphTextureHandle | null;
        materialAttributes: RenderGraphTextureHandle | null;
        motionDepth: RenderGraphTextureHandle | null;
        sceneScale: number;
        markDepthPrepassed(): void;
        replaceColor(
            texture: RenderGraphTextureHandle,
            encoding: RenderColorEncoding,
        ): void;
        replaceDepth(texture: RenderGraphTextureHandle): void;
        setAmbientOcclusionTexture(texture: RenderGraphTextureHandle): void;
        setMaterialAttributes(texture: RenderGraphTextureHandle): void;
        setMotionDepth(texture: RenderGraphTextureHandle): void;
    }
    Index

    Current attachment-zero scene color, or null for a depth-only output.

    colorEncoding: RenderColorEncoding

    Encoding of the current scene color. Lighting and HDR effects require linear.

    Current scene depth, or null when no depth resource was requested or configured.

    materialAttributes: RenderGraphTextureHandle | null

    Reusable opaque view-normal/material texture produced by an earlier feature, if any.

    motionDepth: RenderGraphTextureHandle | null

    Reusable opaque motion/log-depth texture produced by an earlier feature, if any.

    sceneScale: number

    Effective opaque render scale relative to the physical output.

    • Declare that a feature has completely initialized the current opaque depth attachment. The built-in opaque pass will preserve it instead of clearing it.

      Returns void