Data Fields | |
WGPUChainedStruct const * | nextInChain |
WGPUStringView | label |
WGPUTextureUsage | usage |
WGPUTextureDimension | dimension |
WGPUExtent3D | size |
WGPUTextureFormat | format |
uint32_t | mipLevelCount |
uint32_t | sampleCount |
size_t | viewFormatCount |
WGPUTextureFormat const * | viewFormats |
Default values can be set using WGPU_TEXTURE_DESCRIPTOR_INIT as initializer.
WGPUChainedStruct const* WGPUTextureDescriptor::nextInChain |
WGPUStringView WGPUTextureDescriptor::label |
This is a Non-Null Input String.
Defaults to WGPU_STRING_VIEW_INIT.
WGPUTextureUsage WGPUTextureDescriptor::usage |
WGPUTextureDimension WGPUTextureDescriptor::dimension |
WGPUExtent3D WGPUTextureDescriptor::size |
Defaults to WGPU_EXTENT_3D_INIT.
WGPUTextureFormat WGPUTextureDescriptor::format |
Defaults to WGPUTextureFormat_Undefined.
uint32_t WGPUTextureDescriptor::mipLevelCount |
uint32_t WGPUTextureDescriptor::sampleCount |
size_t WGPUTextureDescriptor::viewFormatCount |
WGPUTextureFormat const* WGPUTextureDescriptor::viewFormats |