WebGPU Headers: WGPUSurfaceSourceXlibWindow Struct Reference

Data Fields

WGPUChainedStruct chain
 
void * display
 
uint64_t window
 

Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping an Xlib Window.

Default values can be set using WGPU_SURFACE_SOURCE_XLIB_WINDOW_INIT as initializer.

Definition at line 3327 of file webgpu.h.

◆ chain

◆ display

void* WGPUSurfaceSourceXlibWindow::display

A pointer to the Display connected to the X server.

The INIT macro sets this to NULL.

Definition at line 3334 of file webgpu.h.

◆ window

uint64_t WGPUSurfaceSourceXlibWindow::window