Skip to main content

wgame_shader/
lib.rs

1//! Shader utilities for bridging Rust types with GPU shaders.
2//!
3//! Provides attribute traits, binding definitions, and shader templates for WGSL.
4
5#![forbid(unsafe_code)]
6
7mod attribute;
8mod binding;
9mod shader;
10
11pub use self::{
12    attribute::{Attribute, BytesSink},
13    binding::{Binding, BindingList, BindingType, ScalarType},
14    shader::ShaderSource,
15};
16pub use wgame_shader_macros::{Attribute, AttributeGlobal};