docs: expose sys objects
This commit is contained in:
parent
54150e9bea
commit
f49c78912b
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -773,6 +773,7 @@ dependencies = [
|
||||||
name = "librashader"
|
name = "librashader"
|
||||||
version = "0.1.0-alpha.6"
|
version = "0.1.0-alpha.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"ash",
|
||||||
"librashader-common",
|
"librashader-common",
|
||||||
"librashader-preprocess",
|
"librashader-preprocess",
|
||||||
"librashader-presets",
|
"librashader-presets",
|
||||||
|
@ -781,6 +782,7 @@ dependencies = [
|
||||||
"librashader-runtime-d3d11",
|
"librashader-runtime-d3d11",
|
||||||
"librashader-runtime-gl",
|
"librashader-runtime-gl",
|
||||||
"librashader-runtime-vk",
|
"librashader-runtime-vk",
|
||||||
|
"windows",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
@ -18,16 +18,25 @@ librashader-presets = { path = "../librashader-presets", version = "0.1.0-alpha.
|
||||||
librashader-preprocess = { path = "../librashader-preprocess", version = "0.1.0-alpha.6" }
|
librashader-preprocess = { path = "../librashader-preprocess", version = "0.1.0-alpha.6" }
|
||||||
librashader-reflect = { path = "../librashader-reflect", version = "0.1.0-alpha.6", features = ["standalone"] }
|
librashader-reflect = { path = "../librashader-reflect", version = "0.1.0-alpha.6", features = ["standalone"] }
|
||||||
librashader-runtime = { path = "../librashader-runtime", version = "0.1.0-alpha.6" }
|
librashader-runtime = { path = "../librashader-runtime", version = "0.1.0-alpha.6" }
|
||||||
librashader-runtime-d3d11 = { path = "../librashader-runtime-d3d11", version = "0.1.0-alpha.6" }
|
librashader-runtime-d3d11 = { path = "../librashader-runtime-d3d11", version = "0.1.0-alpha.6", optional = true }
|
||||||
librashader-runtime-gl = { path = "../librashader-runtime-gl", version = "0.1.0-alpha.6" }
|
librashader-runtime-gl = { path = "../librashader-runtime-gl", version = "0.1.0-alpha.6", optional = true }
|
||||||
librashader-runtime-vk = { path = "../librashader-runtime-vk", version = "0.1.0-alpha.6" }
|
librashader-runtime-vk = { path = "../librashader-runtime-vk", version = "0.1.0-alpha.6", optional = true }
|
||||||
|
|
||||||
|
|
||||||
|
ash = { version = "0.37.1+1.3.235", optional = true }
|
||||||
|
|
||||||
|
[dependencies.windows]
|
||||||
|
version = "0.43.0"
|
||||||
|
features = [
|
||||||
|
"Win32_Graphics_Direct3D11",
|
||||||
|
]
|
||||||
|
optional = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["gl", "d3d11", "vk", "reflect", "preprocess", "presets" ]
|
default = ["gl", "d3d11", "vk", "reflect", "preprocess", "presets" ]
|
||||||
gl = [ "runtime", "librashader-common/opengl" ]
|
gl = [ "runtime", "librashader-common/opengl", "librashader-runtime-gl" ]
|
||||||
d3d11 = [ "runtime", "librashader-common/d3d11" ]
|
d3d11 = [ "runtime", "librashader-common/d3d11", "librashader-runtime-d3d11", "windows" ]
|
||||||
vk = ["runtime", "librashader-common/vulkan" ]
|
vk = ["runtime", "librashader-common/vulkan", "librashader-runtime-vk", "ash" ]
|
||||||
runtime = []
|
runtime = []
|
||||||
reflect = []
|
reflect = []
|
||||||
preprocess = []
|
preprocess = []
|
||||||
|
|
|
@ -69,7 +69,7 @@ pub mod preprocess {
|
||||||
pub mod reflect {
|
pub mod reflect {
|
||||||
/// Supported shader compiler targets.
|
/// Supported shader compiler targets.
|
||||||
pub mod targets {
|
pub mod targets {
|
||||||
pub use librashader_reflect::back::targets::SpirV;
|
pub use librashader_reflect::back::targets::SPIRV;
|
||||||
pub use librashader_reflect::back::targets::GLSL;
|
pub use librashader_reflect::back::targets::GLSL;
|
||||||
pub use librashader_reflect::back::targets::HLSL;
|
pub use librashader_reflect::back::targets::HLSL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue