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.
| WGPUChainedStruct WGPUSurfaceSourceXCBWindow::chain |
| void* WGPUSurfaceSourceXCBWindow::connection |
| 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.