Data Fields | |
WGPUChainedStruct | chain |
void * | layer |
Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping a CAMetalLayer
.
Default values can be set using WGPU_SURFACE_SOURCE_METAL_LAYER_INIT as initializer.
WGPUChainedStruct WGPUSurfaceSourceMetalLayer::chain |
void* WGPUSurfaceSourceMetalLayer::layer |
The pointer to the CAMetalLayer
that will be wrapped by the WGPUSurface.
The INIT
macro sets this to NULL
.