WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUSurfaceSourceMetalLayer Struct Reference

Data Fields

WGPUChainedStruct chain
 
void * layer
 

Detailed Description

Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping a CAMetalLayer.

Definition at line 1901 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceSourceMetalLayer::chain

Definition at line 1902 of file webgpu.h.

◆ layer

void* WGPUSurfaceSourceMetalLayer::layer

The pointer to the CAMetalLayer that will be wrapped by the WGPUSurface.

Definition at line 1906 of file webgpu.h.