Data Fields | |
WGPUChainedStruct * | nextInChain |
WGPUStringView | label |
WGPUBufferUsage | usage |
uint64_t | size |
WGPUBool | mappedAtCreation |
Default values can be set using WGPU_BUFFER_DESCRIPTOR_INIT as initializer.
WGPUChainedStruct* WGPUBufferDescriptor::nextInChain |
WGPUStringView WGPUBufferDescriptor::label |
This is a Non-Null Input String.
The INIT
macro sets this to WGPU_STRING_VIEW_INIT.
WGPUBufferUsage WGPUBufferDescriptor::usage |
The INIT
macro sets this to WGPUBufferUsage_None.
uint64_t WGPUBufferDescriptor::size |