Available on crate feature
unstable-wgpu-28 only.Expand description
WGPU 28.x specific types and re-exports.
Note: This module is behind a feature flag and may be removed or changed in future minor releases, as new major WGPU releases become available.
See the wgpu_29 module documentation for usage; the only difference is the
WGPU major version (28 vs 29) and the corresponding feature/selector/API names (unstable-wgpu-28,
slint::BackendSelector::require_wgpu_28(),
slint::GraphicsAPI::WGPU28).
Modules§
- wgpu
wgpuis a cross-platform, safe, pure-Rust graphics API. It runs natively on Vulkan, Metal, D3D12, and OpenGL; and on top of WebGL2 and WebGPU on wasm.
Structs§
- WGPU
Settings - This data structure provides settings for initializing WGPU renderers.
Enums§
- Texture
Import Error - This enum describes the possible errors that can occur when importing a WGPU texture,
via
Image::try_from(). - WGPU
Configuration - This enum describes the different ways to configure WGPU for rendering.