WebGPU Headers: WGPUTexelCopyTextureInfo Struct Reference
Data Fields | |
| WGPUTexture | texture |
| uint32_t | mipLevel |
| WGPUOrigin3D | origin |
| WGPUTextureAspect | aspect |
Detailed Description
Default values can be set using WGPU_TEXEL_COPY_TEXTURE_INFO_INIT as initializer.
Field Documentation
◆ texture
WGPUTexture WGPUTexelCopyTextureInfo::texture
◆ mipLevel
uint32_t WGPUTexelCopyTextureInfo::mipLevel
◆ origin
WGPUOrigin3D WGPUTexelCopyTextureInfo::origin
The INIT macro sets this to WGPU_ORIGIN_3D_INIT.
◆ aspect
WGPUTextureAspect WGPUTexelCopyTextureInfo::aspect
If set to WGPUTextureAspect_Undefined, defaults to WGPUTextureAspect_All.
The INIT macro sets this to WGPUTextureAspect_Undefined.