Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
1//! Dummy values for static analysis tools.
2//!
3//! crates/bevy_shader/src/shader_cache.rs resolves a magic "constants"
4//! namespace to a virtual module where constants can be injected, similar to
5//! pipeline override constants. Until this is refactored into using standard
6//! WESL features, this package serves to have something on the filesystem
7//! that corresponds to the module that would otherwise be "not found" during
8//! design-time/static analysis.
10const SORTED_FRAGMENT_MAX_COUNT: u32 = 128;
11const SCREEN_SPACE_SPECULAR_TRANSMISSION_BLUR_TAPS: u32 = 128;
12const MAX_DIRECTIONAL_LIGHTS: u32 = 128;
13const MAX_CASCADES_PER_LIGHT: u32 = 128;
14const WORLD_CACHE_SIZE: u32 = 128;
15const SHADOW_SAMPLES: u32 = 128;
Contents