Cargo Features
librashader-common has no features set by default.
[dependencies]
librashader-common = { version = "0.40.0-beta.1", features = ["opengl", "d3d9", "d3d11", "d3d12", "dxgi", "vulkan", "wgpu", "metal"] }
- opengl = glow
-
Affects
librashader-common::gl
… - d3d9 = windows
-
Affects
librashader-common::d3d9
… - d3d11 = dxgi, windows
-
Affects
librashader-common::d3d11
… - d3d12 = dxgi, windows
-
Affects
librashader-common::d3d12
… - dxgi d3d11? d3d12? = windows
-
Affects
librashader-common::dxgi
… - vulkan = ash
-
Affects
librashader-common::vk
… - wgpu = wgpu-types
-
Affects
librashader-common::wgpu
… - metal = objc2-metal
-
Affects
librashader-common::metal
…
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.
- glow opengl?
-
Enables glow ^0.14
- ash vulkan?
- wgpu-types wgpu?
-
Enables wgpu-types ^22
- objc2-metal apple metal?
- windows win d3d11? d3d12? d3d9? dxgi?