Cargo Features
[dependencies]
librashader = { version = "0.2.7", default-features = false, features = ["runtime", "reflect", "preprocess", "presets", "runtime-gl", "runtime-d3d11", "runtime-d3d12", "runtime-d3d9", "runtime-vk", "runtime-wgpu", "runtime-metal", "reflect-cross", "reflect-dxil", "reflect-naga", "runtime-all", "reflect-all", "full", "internal", "docsrs", "github-ci"] }
- runtime runtime-d3d11? runtime-d3d12? runtime-d3d9? runtime-gl? runtime-metal? runtime-vk? runtime-wgpu?
-
core features and definitions
Affects
librashader::runtime
… - reflect reflect-cross? reflect-dxil? reflect-naga?
-
Affects
librashader::reflect
… - preprocess full
-
Affects
librashader::preprocess
… - presets full
-
Affects
librashader::presets
… - runtime-gl runtime-all? = librashader-runtime-gl, reflect-cross, runtime
-
runtimes
Enables opengl of librashader-common
Affects
librashader::runtime.gl
… - runtime-d3d11 runtime-all? = librashader-runtime-d3d11, reflect-cross, runtime
-
Enables d3d11 of librashader-common, Win32_Graphics_Direct3D11 of windows ^0.52.0
Affects
librashader::runtime.d3d11
… - runtime-d3d12 runtime-all? = librashader-runtime-d3d12, reflect-cross, reflect-dxil, runtime
-
Enables d3d12 of librashader-common, Win32_Graphics_Direct3D12 of windows ^0.52.0
Affects
librashader::runtime.d3d12
… - runtime-d3d9 = librashader-runtime-d3d9, reflect-cross, runtime
-
Enables d3d9 of librashader-common, Win32_Graphics_Direct3D9 of windows ^0.52.0
Affects
librashader::runtime.d3d9
… - runtime-vk runtime-all? = ash, librashader-runtime-vk, reflect-cross, runtime
-
Enables vulkan of librashader-common
Affects
librashader::runtime.vk
… - runtime-wgpu runtime-all? = librashader-runtime-wgpu, reflect-naga, runtime, wgpu, wgpu-types
-
Enables wgpu of librashader-common
Affects
librashader::runtime.wgpu
… - runtime-metal runtime-all? = icrate, librashader-runtime-mtl, objc2, reflect-cross, reflect-naga, runtime
-
Enables metal of librashader-common
Affects
librashader::runtime.mtl
… - reflect-cross reflect-all? runtime-d3d11? runtime-d3d12? runtime-d3d9? runtime-gl? runtime-metal? runtime-vk? = reflect
-
reflection
Enables cross of librashader-reflect
Affects
librashader::reflect.cross
… - reflect-dxil reflect-all? runtime-d3d12? = reflect
-
Enables dxil of librashader-reflect
Affects
librashader::reflect.dxil
… - reflect-naga reflect-all? runtime-metal? runtime-wgpu? = reflect
-
Enables naga of librashader-reflect
Affects
librashader::reflect.naga
… - runtime-all full = runtime-d3d11, runtime-d3d12, runtime-gl, runtime-metal, runtime-vk, runtime-wgpu
- reflect-all full = reflect-cross, reflect-dxil, reflect-naga
- default = full
-
enable all features by default
- full default = preprocess, presets, reflect-all, runtime-all
- internal
-
Affects
librashader::reflect.helper
… - docsrs
-
cache hack
Enables docsrs of librashader-cache, unstable-docsrs of objc2
- github-ci
-
emits warning messages in tests
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- librashader-runtime-d3d11 runtime-d3d11?
- librashader-runtime-d3d12 runtime-d3d12?
- librashader-runtime-d3d9 runtime-d3d9?
- librashader-runtime-gl runtime-gl?
- librashader-runtime-vk runtime-vk?
- librashader-runtime-mtl runtime-metal?
- ash runtime-vk?
-
Enables ash ^0.37
- icrate apple runtime-metal?
- librashader-runtime-wgpu not apple not docsrs runtime-wgpu?
- wgpu not apple not docsrs runtime-wgpu?
-
Enables wgpu ^0.19
- wgpu-types not apple not docsrs runtime-wgpu?
-
Enables wgpu-types ^0.19
- objc2 apple docsrs? runtime-metal?
- windows win runtime-d3d11? runtime-d3d12? runtime-d3d9?
-
Enables windows ^0.52.0