Interface GPUTexelCopyTextureInfo
interface GPUTexelCopyTextureInfo {
aspect?: GPUTextureAspect;
mipLevel?: number;
origin?: GPUOrigin3D;
texture: GPUTexture;
}
aspect?: GPUTextureAspect;
mipLevel?: number;
origin?: GPUOrigin3D;
texture: GPUTexture;
}
Hierarchy
- GPUTexelCopyTextureInfo (View Summary)
Properties
Optional
aspect
Optional
mipLevel
mipLevel?: number
Mip-map level of the GPUTexelCopyTextureInfo#texture to copy to/from.
Optional
origin
Defines the origin of the copy - the minimum corner of the texture sub-region to copy to/from.
Together with copySize
, defines the full copy sub-region.
texture
Texture to copy to/from.
Defines which aspects of the GPUTexelCopyTextureInfo#texture to copy to/from.