Function textureDataToImageData

  • Parameters

    • imgData: ImageData | TextureImageData | {
          data: Uint8Array | Uint16Array | Float32Array;
          height: number;
          width: number;
      }
    • Optional colorSpace: ColorSpace
    • Optional outData: ImageData

    Returns ImageData