WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUTextureViewDescriptor Struct Reference

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUStringView label
 
WGPUTextureFormat format
 
WGPUTextureViewDimension dimension
 
uint32_t baseMipLevel
 
uint32_t mipLevelCount
 
uint32_t baseArrayLayer
 
uint32_t arrayLayerCount
 
WGPUTextureAspect aspect
 
WGPUTextureUsage usage
 

Detailed Description

Default values can be set using WGPU_TEXTURE_VIEW_DESCRIPTOR_INIT as initializer.

Definition at line 3261 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUTextureViewDescriptor::nextInChain

Definition at line 3262 of file webgpu.h.

◆ label

WGPUStringView WGPUTextureViewDescriptor::label

This is a Non-Null Input String.

Defaults to WGPU_STRING_VIEW_INIT.

Definition at line 3268 of file webgpu.h.

◆ format

WGPUTextureFormat WGPUTextureViewDescriptor::format

Defaults to WGPUTextureFormat_Undefined.

Definition at line 3272 of file webgpu.h.

◆ dimension

WGPUTextureViewDimension WGPUTextureViewDescriptor::dimension

Defaults to WGPUTextureViewDimension_Undefined.

Definition at line 3276 of file webgpu.h.

◆ baseMipLevel

uint32_t WGPUTextureViewDescriptor::baseMipLevel

Defaults to 0.

Definition at line 3280 of file webgpu.h.

◆ mipLevelCount

uint32_t WGPUTextureViewDescriptor::mipLevelCount

Defaults to WGPU_MIP_LEVEL_COUNT_UNDEFINED.

Definition at line 3284 of file webgpu.h.

◆ baseArrayLayer

uint32_t WGPUTextureViewDescriptor::baseArrayLayer

Defaults to 0.

Definition at line 3288 of file webgpu.h.

◆ arrayLayerCount

uint32_t WGPUTextureViewDescriptor::arrayLayerCount

Defaults to WGPU_ARRAY_LAYER_COUNT_UNDEFINED.

Definition at line 3292 of file webgpu.h.

◆ aspect

WGPUTextureAspect WGPUTextureViewDescriptor::aspect

Defaults to WGPUTextureAspect_All.

Definition at line 3296 of file webgpu.h.

◆ usage

WGPUTextureUsage WGPUTextureViewDescriptor::usage

Defaults to WGPUTextureUsage_None.

Definition at line 3300 of file webgpu.h.