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

Field Documentation

◆ chain

WGPUChainedStruct WGPURequestAdapterWebXROptions::chain

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