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.

Definition at line 3227 of file webgpu.h.

◆ chain

◆ display

void* WGPUSurfaceSourceWaylandSurface::display

A wl_display for this Wayland instance.

The INIT macro sets this to NULL.

Definition at line 3234 of file webgpu.h.

◆ surface

void* WGPUSurfaceSourceWaylandSurface::surface