Function textureDataToImageData

  • Parameters

    • imgData:
          | TextureImageData
          | ImageData
          | {
              data: Uint8Array
              | Uint16Array
              | Float32Array;
              height: number;
              width: number;
          }
    • OptionalcolorSpace: ColorSpace
    • OptionaloutData: ImageData

    Returns ImageData