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 3757 of file webgpu.h.

Field Documentation

◆ texture

WGPUTexture WGPUTexelCopyTextureInfo::texture

Defaults to NULL.

Definition at line 3761 of file webgpu.h.

◆ mipLevel

uint32_t WGPUTexelCopyTextureInfo::mipLevel

Defaults to 0.

Definition at line 3765 of file webgpu.h.

◆ origin

WGPUOrigin3D WGPUTexelCopyTextureInfo::origin

Defaults to WGPU_ORIGIN_3D_INIT.

Definition at line 3769 of file webgpu.h.

◆ aspect

WGPUTextureAspect WGPUTexelCopyTextureInfo::aspect

Defaults to WGPUTextureAspect_All.

Definition at line 3773 of file webgpu.h.