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

Data Fields

WGPUChainedStruct chain
 
void * display
 
uint64_t window
 

Detailed Description

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

Definition at line 1958 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceSourceXlibWindow::chain

Definition at line 1959 of file webgpu.h.

◆ display

void* WGPUSurfaceSourceXlibWindow::display

A pointer to the Display connected to the X server.

Definition at line 1963 of file webgpu.h.

◆ window

uint64_t WGPUSurfaceSourceXlibWindow::window

The Window that will be wrapped by the WGPUSurface.

Definition at line 1967 of file webgpu.h.