Cargo Features
bevy_shader has no features set by default.
[dependencies]
bevy_shader = { version = "0.17.1", features = ["shader_format_glsl", "shader_format_spirv", "shader_format_wesl", "decoupled_naga"] }
- shader_format_glsl
- shader_format_spirv
- shader_format_wesl = wesl
-
Affects
shader_cache::ShaderResolver
… - decoupled_naga
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- wesl shader_format_wesl?
-
Enables wesl ^0.1.2