WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
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.

Definition at line 3185 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceSourceAndroidNativeWindow::chain

Definition at line 3186 of file webgpu.h.

◆ window

void* WGPUSurfaceSourceAndroidNativeWindow::window

The pointer to the ANativeWindow that will be wrapped by the WGPUSurface.

The INIT macro sets this to NULL.

Definition at line 3192 of file webgpu.h.