Cargo Features

[dependencies]
bevy_mod_openxr = { version = "0.1.0-rc1", default-features = false, features = ["vulkan", "d3d12", "passthrough"] }
default = d3d12, passthrough, vulkan

These default features are set whenever bevy_mod_openxr is added without default-features = false somewhere in the dependency tree.

vulkan default

Enables ash ^0.37.3

Affects graphics::vulkan

d3d12 default

Enables d3d12 ^0.19, winapi and dx12 of wgpu ^0.20 and wgpu-hal ^0.21

wgpu:

Backends


⚠️ WIP: Not all backends can be manually configured today. On Windows, Linux & Android the Vulkan & GLES backends are always enabled. See #3514 for more details.

Enables the DX12 backend on Windows.

passthrough default

Affects features::passthrough

Features from optional dependencies

bevy can't be placed behind target or proc macros won't work properly