Expand description
This library safely implements WebGPU on native platforms. It is designed for integration into browsers, as well as wrapping into other language-specific user-friendly libraries.
Modules
- conv 🔒
- Allocating resource ids, and tracking the resources they refer to.
- Lazy initialization of texture and buffer memory.
- Presentation.
- track 🔒Resource State and Lifetime Trackers
Macros
- Define an exported macro named
$public
that expands to an expression if the feature$feature
is enabled, or to a panic otherwise. - Dispatch on an
Id
’s backend to a backend-generic method.
Structs
- Information needed to decide when it’s safe to free some wgpu-core resource.
- Reference count object that tracks multiple references. Unlike
RefCount
, it’s manually inc()/dec() called. - RefCount 🔒Reference count object that is 1:1 with each reference.
- Stored 🔒