GPUTexelCopyTextureInfo¶
interface GPUTexelCopyTextureInfo
Properties¶
aspect¶
abstract val aspect: GPUTextureAspect
Defines which aspects of the texture to copy to/from.
mipLevel¶
abstract val mipLevel: GPUIntegerCoordinate
Mip-map level of the texture to copy to/from.
See [GPUTexelCopyTextureInfo.mipLevel in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gputexelcopytextureinfo-miplevel).
origin¶
abstract val origin: GPUOrigin3D
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¶
abstract val texture: GPUTexture
Texture to copy to/from.
See [GPUTexelCopyTextureInfo.texture in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gputexelcopytextureinfo-texture).