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.

Definition at line 4263 of file webgpu.h.

Field Documentation

◆ texture

WGPUTexture WGPUTexelCopyTextureInfo::texture

The INIT macro sets this to NULL.

Definition at line 4267 of file webgpu.h.

◆ mipLevel

uint32_t WGPUTexelCopyTextureInfo::mipLevel

The INIT macro sets this to 0.

Definition at line 4271 of file webgpu.h.

◆ origin

WGPUOrigin3D WGPUTexelCopyTextureInfo::origin

The INIT macro sets this to WGPU_ORIGIN_3D_INIT.

Definition at line 4275 of file webgpu.h.

◆ aspect

WGPUTextureAspect WGPUTexelCopyTextureInfo::aspect

If set to WGPUTextureAspect_Undefined, defaults to WGPUTextureAspect_All.

The INIT macro sets this to WGPUTextureAspect_Undefined.

Definition at line 4282 of file webgpu.h.