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

    Variable FRAMERESOURCE_DEPTHConst

    FRAMERESOURCE_DEPTH: string = 'depth'

    A frame resource: the depth of the scene, available once the opaque geometry has rendered. List it in CameraFrameEffect#requires to read the depth in the effect's shaders, using the getLinearScreenDepth function of the screenDepthPS chunk, which the composition includes for the effect's compose chunk. The camera frame renders the depth the cheapest way available. Passes running between the opaque and the transparent geometry read the depth of the opaque geometry.