GPUTexelCopyTextureInfo constructor

GPUTexelCopyTextureInfo({
  1. GPUTexture texture,
  2. int mipLevel,
  3. GPUOrigin3DDict origin,
  4. String aspect,
})

One side of a copy, or the destination of a writeTexture.

mipLevel and origin together name a level of a face, which is what a mip chain upload and a cube-map readback both need and what the spike this file grew from left at zero.

Implementation

external factory GPUTexelCopyTextureInfo({
  GPUTexture texture,
  int mipLevel,
  GPUOrigin3DDict origin,
  String aspect,
});