Data Fields | |
| WGPUChainedStruct * | nextInChain |
| 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.
| WGPUChainedStruct* WGPUTextureViewDescriptor::nextInChain |
| WGPUStringView WGPUTextureViewDescriptor::label |
This is a Non-Null Input String.
The INIT macro sets this to WGPU_STRING_VIEW_INIT.
| WGPUTextureFormat WGPUTextureViewDescriptor::format |
The INIT macro sets this to WGPUTextureFormat_Undefined.
| WGPUTextureViewDimension WGPUTextureViewDescriptor::dimension |
The INIT macro sets this to WGPUTextureViewDimension_Undefined.
| uint32_t WGPUTextureViewDescriptor::baseMipLevel |
| uint32_t WGPUTextureViewDescriptor::mipLevelCount |
The INIT macro sets this to WGPU_MIP_LEVEL_COUNT_UNDEFINED.
| uint32_t WGPUTextureViewDescriptor::baseArrayLayer |
| uint32_t WGPUTextureViewDescriptor::arrayLayerCount |
The INIT macro sets this to WGPU_ARRAY_LAYER_COUNT_UNDEFINED.
| WGPUTextureAspect WGPUTextureViewDescriptor::aspect |
If set to WGPUTextureAspect_Undefined, defaults to WGPUTextureAspect_All.
The INIT macro sets this to WGPUTextureAspect_Undefined.
| WGPUTextureUsage WGPUTextureViewDescriptor::usage |
The INIT macro sets this to WGPUTextureUsage_None.