tiny_wgpu

Crates.iotiny_wgpu
lib.rstiny_wgpu
version0.1.10
sourcesrc
created_at2024-04-24 21:46:56.972319
updated_at2024-05-08 18:12:48.891091
descriptionwgpu helper library
homepagehttps://github.com/ccaven/tiny_wgpu
repositoryhttps://github.com/ccaven/tiny_wgpu
max_upload_size
id1219545
size85,655
xacer (ccaven)

documentation

README

tiny_wgpu

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

Usage

Add these lines to your Cargo.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.

Commit count: 25

cargo fmt