• Reads back a texture from the GPU (can be compressed, a render texture, or anything), optionally applies RGBA colorScale to it, and returns CPU data for further usage. Note that there are WebGL / WebGPU rules preventing some use of data between WebGL contexts.

    Parameters

    • texture: any
    • maxTextureSize: number = Infinity
    • renderer: null | WebGLRenderer = null
    • colorScale: undefined | Vector4 = undefined

    Returns Promise<ImageReadbackResult>

MMNEPVFCICPMFPCPTTAAATR