WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
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 4078 of file webgpu.h.

Field Documentation

◆ texture

WGPUTexture WGPUTexelCopyTextureInfo::texture

The INIT macro sets this to NULL.

Definition at line 4082 of file webgpu.h.

◆ mipLevel

uint32_t WGPUTexelCopyTextureInfo::mipLevel

The INIT macro sets this to 0.

Definition at line 4086 of file webgpu.h.

◆ origin

WGPUOrigin3D WGPUTexelCopyTextureInfo::origin

The INIT macro sets this to WGPU_ORIGIN_3D_INIT.

Definition at line 4090 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 4097 of file webgpu.h.