AutoMovie API
    Preparing search index...

    Variable readAutoMovieDisplayDestinationEncodingConst

    readAutoMovieDisplayDestinationEncoding: (
        renderer: Pick<THREE.WebGLRenderer, "getContext">,
    ) => "linear" | "srgb" = ...

    Read the actual selected offscreen color attachment's native transfer. The caller has bound its destination, so explicit internal formats and SDK storage choices are observed rather than inferred from Texture.colorSpace. Byte-product emission supports linear or sRGB storage; an absent or unknown color attachment refuses before a source callback can replace the display. The selected face and mip must form a complete framebuffer: a native color encoding alone cannot prove that the selected image storage exists. The float quad requires unsigned-normalized RGBA channels of at least eight bits, or homogeneous RGBA16F/RGBA32F storage. Integer and signed components, missing channels and lower precision cannot certify the byte identities. Eight unsigned-normalized bits encode all 256 source values. RGBA16F's binary16 rounding changes a normalized byte value by less than 0.063 byte; RGBA32F is finer, so nearest-byte capture retains those same values. This query neither binds nor allocates a target and changes no native state. The installed renderer declaration also admits a WebGL1 context. Require the actual public WebGL2 attachment-query capability before reading its encoding constants; no guessed numeric enum or widened type substitutes.

    Type Declaration

      • (renderer: Pick<THREE.WebGLRenderer, "getContext">): "linear" | "srgb"
      • Parameters

        • renderer: Pick<THREE.WebGLRenderer, "getContext">

        Returns "linear" | "srgb"