renderer render
This commit is contained in:
+5
-1
@@ -3,4 +3,8 @@
|
||||
//! 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.
|
||||
|
||||
pub const BASIC_SHADER: &str = "assets/shaders/basic_shader.wgsl";
|
||||
/// 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");
|
||||
|
||||
Reference in New Issue
Block a user