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:

Note: In the documentation, if you see that an item depends on a backend, it means that the item is only available when that backend is enabled and the backend is supported on the current platform.

Shading language support


Enable accepting SPIR-V shaders as input.

srs2dge-core has 2 features without comments.