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

Data Fields

WGPUChainedStruct chain
 
void * hinstance
 
void * hwnd
 

Detailed Description

Chained in WGPUSurfaceDescriptor to make an WGPUSurface wrapping a Windows HWND.

Definition at line 1927 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUSurfaceSourceWindowsHWND::chain

Definition at line 1928 of file webgpu.h.

◆ hinstance

void* WGPUSurfaceSourceWindowsHWND::hinstance

The HINSTANCE for this application. Most commonly GetModuleHandle(nullptr).

Definition at line 1933 of file webgpu.h.

◆ hwnd

void* WGPUSurfaceSourceWindowsHWND::hwnd

The HWND that will be wrapped by the WGPUSurface.

Definition at line 1937 of file webgpu.h.