WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 2666 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPURequestAdapterWebXROptions::chain

Definition at line 2667 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 2673 of file webgpu.h.