WebGPU Headers: WGPUTextureViewDescriptor Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUStringView label
 
WGPUTextureFormat format
 
WGPUTextureViewDimension dimension
 
uint32_t baseMipLevel
 
uint32_t mipLevelCount
 
uint32_t baseArrayLayer
 
uint32_t arrayLayerCount
 
WGPUTextureAspect aspect
 
WGPUTextureUsage usage
 

Default values can be set using WGPU_TEXTURE_VIEW_DESCRIPTOR_INIT as initializer.

Definition at line 4664 of file webgpu.h.

◆ nextInChain

◆ label

◆ format

◆ dimension

◆ baseMipLevel

uint32_t WGPUTextureViewDescriptor::baseMipLevel

The INIT macro sets this to 0.

Definition at line 4683 of file webgpu.h.

◆ mipLevelCount

uint32_t WGPUTextureViewDescriptor::mipLevelCount

◆ baseArrayLayer

uint32_t WGPUTextureViewDescriptor::baseArrayLayer

The INIT macro sets this to 0.

Definition at line 4691 of file webgpu.h.

◆ arrayLayerCount

uint32_t WGPUTextureViewDescriptor::arrayLayerCount

◆ aspect

◆ usage