Data Fields | |
WGPUChainedStruct const * | nextInChain |
WGPUStringView | label |
The root descriptor for the creation of an WGPUSurface with wgpuInstanceCreateSurface
. It isn't sufficient by itself and must have one of the WGPUSurfaceSource*
in its chain. See Surface Creation for more details.
Default values can be set using WGPU_SURFACE_DESCRIPTOR_INIT as initializer.
WGPUChainedStruct const* WGPUSurfaceDescriptor::nextInChain |
WGPUStringView WGPUSurfaceDescriptor::label |
Label used to refer to the object.
This is a Non-Null Input String.
Defaults to WGPU_STRING_VIEW_INIT.