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 2741 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPURequestAdapterWebXROptions::chain

Definition at line 2742 of file webgpu.h.

◆ xrCompatible

WGPUBool WGPURequestAdapterWebXROptions::xrCompatible

Sets the xrCompatible option in the JS API.

The INIT macro sets this to WGPU_FALSE.

Definition at line 2748 of file webgpu.h.