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

Data Fields

WGPUChainedStruct chain
 
void * display
 
void * surface
 

Detailed Description

Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping a Wayland wl_surface.

Definition at line 1912 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceSourceWaylandSurface::chain

Definition at line 1913 of file webgpu.h.

◆ display

void* WGPUSurfaceSourceWaylandSurface::display

A wl_display for this Wayland instance.

Definition at line 1917 of file webgpu.h.

◆ surface

void* WGPUSurfaceSourceWaylandSurface::surface

A wl_surface that will be wrapped by the WGPUSurface

Definition at line 1921 of file webgpu.h.