11 lines
535 B
Rust
11 lines
535 B
Rust
//! # Configuration Module
|
|
//!
|
|
//! Holds shared constants for the WSG library, such as shader paths and other compilation-time values.
|
|
//! This module centralizes configuration so that it can be imported by any submodule without duplicating literals.
|
|
|
|
/// Path to the default WGSL shader file (runtime).
|
|
pub const BASIC_SHADER_PATH: &str = "assets/shaders/basic_shader.wgsl";
|
|
|
|
/// The basic WGSL shader source, embedded at compile time as a fallback.
|
|
pub const BASIC_SHADER: &str = include_str!("../assets/shaders/basic_shader.wgsl");
|