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

    Interface CameraFrameEffectResources

    interface CameraFrameEffectResources {
        depth?: CameraFrameEffectDepth;
        prepassDepth?: CameraFrameEffectDepth;
        sceneColorGrab?: SceneColorMapHandle;
        sceneColorHalf?: Texture;
        sceneTarget?: RenderTarget;
    }
    Index

    The scene depth, see FRAMERESOURCE_DEPTH.

    prepassDepth?: CameraFrameEffectDepth

    The scene depth rendered by a prepass, see FRAMERESOURCE_PREPASSDEPTH.

    sceneColorGrab?: SceneColorMapHandle

    The handle of the mipmapped copy of the opaque scene color, see FRAMERESOURCE_SCENECOLORGRAB. The copy is a new texture whenever the scene resizes, which the handle always identifies, and it is published to the uSceneColorMap texture the shaders sample before the passes at the postOpaque stage run.

    sceneColorHalf?: Texture

    The half resolution scene color, see FRAMERESOURCE_SCENECOLORHALF.

    sceneTarget?: RenderTarget

    The scene render target, see FRAMERESOURCE_SCENETARGET.