nannou_wgpu

Crates.ionannou_wgpu
lib.rsnannou_wgpu
version0.19.0
sourcesrc
created_at2021-07-08 12:25:33.116997
updated_at2024-01-17 07:39:22.27328
descriptionItems related to wgpu and its integration in nannou - a creative coding framework for Rust.
homepagehttps://nannou.cc
repositoryhttps://github.com/nannou-org/nannou.git
max_upload_size
id420313
size168,332
(mitchmindtree)

documentation

README

nannou_wgpu

Items related to wgpu and its integration in nannou!

WebGPU is the portable graphics specification that nannou targets allowing us to write code that is both fast and allows us to target a wide range of platforms. wgpu is the name of the crate we use that implements this specification.

The nannou_wgpu crate re-exports the entire wgpu crate along with all of its documentation while also adding some additional items that makes wgpu easier to use alongside nannou.

The image feature enables easier interoperation with the image crate, including functions for uploading textures from image files.

The capturer feature provides the wgpu::TextureCapturer API that aims to simplify the process of downloading textures from the GPU and easily save them as image files. As an example, this is particularly useful for recording the contents of a window or sketch.

Note that when using nannou_wgpu via nannou::wgpu, both features are enabled by default.

Useful links:

Commit count: 1659

cargo fmt