Cargo Features
[dependencies]
librashader-cli = { version = "0.6.2", default-features = false, features = ["full", "vulkan", "opengl", "wgpu", "d3d11", "d3d12", "d3d9", "metal", "vulkan-debug"] }
- default = full
-
The
full
feature is set by default wheneverlibrashader-cli
is added without
somewhere in the dependency tree.default-features = false - full default = d3d11, d3d12, d3d9, metal, opengl, vulkan, wgpu
- vulkan full vulkan-debug?
-
Enables ash, runtime-vk of librashader
Affects
render::vk
… - opengl full
-
Enables glfw and glow ^0.15.0 and runtime-gl of librashader
librashader:
runtimes
Affects
render::gl
… - wgpu full
-
Enables wgpu and wgpu-types, runtime-wgpu of librashader
Affects
render::wgpu
… - d3d11 full
-
Enables windows, runtime-d3d11 of librashader
Affects
render::d3d11
… - d3d12 full
-
Enables d3d12-descriptor-heap, windows, runtime-d3d12 of librashader
Affects
render::d3d12
… - d3d9 full
-
Enables windows, runtime-d3d9 of librashader
Affects
render::d3d9
… - metal full
-
Enables objc2 and objc2-metal, runtime-metal of librashader
Affects
render::mtl
… - vulkan-debug = vulkan