Thanks to visit codestin.com
Credit goes to lib.rs

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

Enables glsl-in and wgsl-out of naga ^26, glsl of naga_oil

shader_format_spirv

Enables spv-in and spv-out of naga ^26

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