Cargo Features
librashader-runtime-wgpu has no features set by default.
[dependencies]
librashader-runtime-wgpu = { version = "0.6.2", features = ["wgpu_dx12", "wgpu_metal", "wgpu_webgpu", "stable"] }
- wgpu_dx12
-
workaround for docsrs to not build metal-rs.
- wgpu_metal
-
wgpu:
Enables the Metal backend on macOS & iOS.
- wgpu_webgpu
-
wgpu:
Enables the WebGPU backend on Wasm. Disabled when targeting
emscripten
. - stable
-
Enables stable of librashader-reflect