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
- Allocating resource ids, and tracking the resources they refer to.
- Presentation.
Macros
- gfx_if_dx11_hiddenNot (
dx11
and Windows) - gfx_if_dx12_hiddenNot (
dx12
and Windows) - gfx_if_metal_hiddenNot (
metal
and (macOS or iOS)) - gfx_if_vulkan_hidden
vulkan
and non-WebAssembly - 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.