Data Fields | |
| WGPUChainedStruct * | 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* WGPUSurfaceDescriptor::nextInChain |
| WGPUStringView WGPUSurfaceDescriptor::label |
Label used to refer to the object.
This is a Non-Null Input String.
The INIT macro sets this to WGPU_STRING_VIEW_INIT.