wgsl_to_wgpu 0.10.0

Generate typesafe Rust bindings from WGSL shaders to wgpu
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct Input0 {
    a: u32,
    b: i32,
    c: f32,
};

struct Nested {
    a: Input0,
    b: f32
}

var<uniform> a: Input0;
var<storage, read> b: Nested;

@fragment
fn main() {}