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

Data Fields

WGPUChainedStruct chain
 
WGPUBool xrCompatible
 

Detailed Description

Extension providing requestAdapter options for implementations with WebXR interop (i.e. Wasm).

Default values can be set using WGPU_REQUEST_ADAPTER_WEBXR_OPTIONS_INIT as initializer.

Definition at line 2631 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPURequestAdapterWebXROptions::chain

Definition at line 2632 of file webgpu.h.

◆ xrCompatible

WGPUBool WGPURequestAdapterWebXROptions::xrCompatible

Sets the xrCompatible option in the JS API.

The INIT macro sets this to 0.

Definition at line 2638 of file webgpu.h.