Cargo Features
[dependencies]
glslcc-rs = { version = "0.1.7", default-features = false, features = ["glsl", "hlsl", "msl", "build-shaderc"] }
- default = glsl, hlsl, msl
-
These default features are set whenever
glslcc-rs
is added without
somewhere in the dependency tree.default-features = false - glsl default
-
Enables glsl of spirv_cross
- hlsl default
-
Enables hlsl of spirv_cross
- msl default
-
Enables msl of spirv_cross
- build-shaderc
-
Enables build-from-source of shaderc
glslcc-rs has 5 features without comments.