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.

Default values can be set using WGPU_SURFACE_SOURCE_WAYLAND_SURFACE_INIT as initializer.

Definition at line 3323 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceSourceWaylandSurface::chain

Definition at line 3324 of file webgpu.h.

◆ display

void* WGPUSurfaceSourceWaylandSurface::display

A wl_display for this Wayland instance.

The INIT macro sets this to NULL.

Definition at line 3330 of file webgpu.h.

◆ surface

void* WGPUSurfaceSourceWaylandSurface::surface

A wl_surface that will be wrapped by the WGPUSurface

The INIT macro sets this to NULL.

Definition at line 3336 of file webgpu.h.