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.
WGPUChainedStruct WGPUSurfaceSourceWaylandSurface::chain |
void* WGPUSurfaceSourceWaylandSurface::display |
A wl_display
for this Wayland instance.
The INIT
macro sets this to NULL
.
void* WGPUSurfaceSourceWaylandSurface::surface |
A wl_surface
that will be wrapped by the WGPUSurface
The INIT
macro sets this to NULL
.