Cargo Features
srs2dge-core has no features set by default.
[dependencies]
srs2dge-core = { version = "0.2.0", features = ["glsl", "spirv"] }
- glsl
-
Enables glsl-in of naga ^0.8 and glsl of wgpu ^0.12
wgpu:
Enable accepting GLSL shaders as input.
- spirv
-
Enables spv-in of naga ^0.8 and spirv of wgpu ^0.12
wgpu:
Shading language support
These features enable support for that input language on all platforms. We will translate the input language to whatever the backend requires.
Enable accepting SPIR-V shaders as input.
srs2dge-core has 2 features without comments.