Data Fields | |
WGPUTexture | texture |
uint32_t | mipLevel |
WGPUOrigin3D | origin |
WGPUTextureAspect | aspect |
Default values can be set using WGPU_TEXEL_COPY_TEXTURE_INFO_INIT as initializer.
WGPUTexture WGPUTexelCopyTextureInfo::texture |
uint32_t WGPUTexelCopyTextureInfo::mipLevel |
WGPUOrigin3D WGPUTexelCopyTextureInfo::origin |
The INIT
macro sets this to WGPU_ORIGIN_3D_INIT.
WGPUTextureAspect WGPUTexelCopyTextureInfo::aspect |
If set to WGPUTextureAspect_Undefined, defaults to WGPUTextureAspect_All.
The INIT
macro sets this to WGPUTextureAspect_Undefined.