Cargo Features
[dependencies]
spirvcross = { version = "0.1.2", default-features = false, features = ["nightly", "glsl", "hlsl", "msl"] }
-
default
=
glsl
-
The glsl
feature is set by default
whenever spirvcross
is added without default-features = false
somewhere in the dependency tree.
-
nightly
-
-
glsl
default
hlsl?
msl?
-
Affects
compiler::glsl
…
-
hlsl
=
glsl
-
Affects
compiler::hlsl
…
-
msl
=
glsl
-
Affects
compiler::msl
…