WebGPU Headers: WGPUSurfaceSourceAndroidNativeWindow Struct Reference
Data Fields | |
| WGPUChainedStruct | chain |
| void * | window |
Detailed Description
Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping an Android ANativeWindow.
Default values can be set using WGPU_SURFACE_SOURCE_ANDROID_NATIVE_WINDOW_INIT as initializer.
Field Documentation
◆ chain
WGPUChainedStruct WGPUSurfaceSourceAndroidNativeWindow::chain
◆ window
void* WGPUSurfaceSourceAndroidNativeWindow::window
The pointer to the ANativeWindow that will be wrapped by the WGPUSurface.
The INIT macro sets this to NULL.