Cargo Features
[dependencies]
transhader = { version = "0.1.1", default-features = false, features = ["from-glsl", "from-spv", "from-wgsl", "to-glsl", "to-msl", "to-spv", "to-wgsl", "to-hlsl"] }
- default = from-glsl, from-spv, from-wgsl, to-glsl, to-hlsl, to-msl, to-spv, to-wgsl
-
These default features are set whenever
transhader
is added without
somewhere in the dependency tree.default-features = false - from-glsl default
-
Allow transpiling from GLSL.
Enables glsl-in of naga ^0.19.2
- from-spv default
-
Allow transpiling from SPIR-V.
Enables spv-in of naga ^0.19.2
- from-wgsl default
-
Allow transpiling from WGSL.
Enables wgsl-in of naga ^0.19.2
- to-glsl default
-
Allow transpiling to GLSL.
Enables glsl-out of naga ^0.19.2
- to-msl default
-
Allow transpiling to MSL.
Enables msl-out of naga ^0.19.2
- to-spv default
-
Allow transpiling to SPIR-V.
Enables spv-out of naga ^0.19.2
- to-wgsl default
-
Allow transpiling to WGSL.
Enables wgsl-out of naga ^0.19.2
- to-hlsl default
-
Allow transpiling to HLSL.
Enables hlsl-out of naga ^0.19.2