Crates.io | tiny_wgpu |
lib.rs | tiny_wgpu |
version | 0.1.10 |
source | src |
created_at | 2024-04-24 21:46:56.972319 |
updated_at | 2024-05-08 18:12:48.891091 |
description | wgpu helper library |
homepage | https://github.com/ccaven/tiny_wgpu |
repository | https://github.com/ccaven/tiny_wgpu |
max_upload_size | |
id | 1219545 |
size | 85,655 |
Helper library to reduce the amount of boilerplate code when using wgpu
.
Add these lines to your Cargo.toml
:
tiny_wgpu = "0.1.10"
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
.