Engine API Reference - v2.24.0-beta.28
    Preparing search index...

    Interface CameraFrameEffectDepth

    interface CameraFrameEffectDepth {
        defines: Map<string, string>;
        key: string;
        texture: Texture;
    }
    Index
    defines: Map<string, string>

    The defines a shader reading the depth with getLinearScreenDepth needs. Shared by the effects, so copy them rather than change them.

    key: string

    A key identifying those defines, to add to the unique name of such a shader, so that differently stored depths do not share a compiled shader.

    texture: Texture

    The texture the depth is rendered to, the size of the scene - for sizing render targets.