tiny_wgpu 0.1.10

wgpu helper library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# tiny_wgpu


Helper library to reduce the amount of boilerplate code when using `wgpu`.

## Usage


Add these lines to your `Cargo.toml`:
```toml
tiny_wgpu = "0.1.10"
```

## Implementation notes


Buffers, textures, pipelines, etc. are stored in `HashMap<&str, T>` objects, so each buffer/pipeline is associated with a string slice label.

See `examples/compute.rs` for a simple compute shader example and `examples/window.rs` for a vertex/fragment shader example using `winit`.