WebGPU Headers: WGPUSurfaceSourceWaylandSurface Struct Reference
Data Fields | |
| WGPUChainedStruct | chain |
| void * | display |
| void * | surface |
Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping a Wayland wl_surface.
Default values can be set using WGPU_SURFACE_SOURCE_WAYLAND_SURFACE_INIT as initializer.
◆ chain
◆ display
void* WGPUSurfaceSourceWaylandSurface::display
A wl_display for this Wayland instance.
The INIT macro sets this to NULL.
◆ surface
void* WGPUSurfaceSourceWaylandSurface::surface