random_wgsl 0.1.2

Random utility package for WGSL/WESL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    wesl::PkgBuilder::new("random")
        .scan_directory("src/shaders/random")
        .expect("failed to scan WESL files")
        .validate()
        .inspect_err(|e| {
            eprintln!("{e}");
            panic!();
        })
        .unwrap()
        .build_artefact()
        .expect("failed to build artefact")
}