WebGPU Headers: WGPUSurfaceSourceXCBWindow Struct Reference

Data Fields

WGPUChainedStruct chain
 
void * connection
 
uint32_t window
 

Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping an XCB xcb_window_t.

Default values can be set using WGPU_SURFACE_SOURCE_XCB_WINDOW_INIT as initializer.

Definition at line 3294 of file webgpu.h.

◆ chain

◆ connection

void* WGPUSurfaceSourceXCBWindow::connection

The xcb_connection_t for the connection to the X server.

The INIT macro sets this to NULL.

Definition at line 3301 of file webgpu.h.

◆ window

uint32_t WGPUSurfaceSourceXCBWindow::window

The xcb_window_t for the window that will be wrapped by the WGPUSurface.

The INIT macro sets this to 0.

Definition at line 3307 of file webgpu.h.