unstable-wgpu-29 only.Expand description
WGPU 29.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.
This module exists for interoperability with ecosystems that are still on WGPU 29.x, such as bevy 0.19.
See the wgpu_30 module documentation for usage; the only difference is the
WGPU major version (29 vs 30) and the corresponding feature/selector/API names (unstable-wgpu-29,
slint::BackendSelector::require_wgpu_29(),
slint::GraphicsAPI::WGPU29).
When rendering offscreen with the Skia renderer, use slint::platform::skia_renderer::SkiaWGPU29Renderer
to select the wgpu 29 API explicitly, even if unstable-wgpu-30 also ends up enabled through
Cargo feature unification.
Re-exports§
pub use api::wgpu;
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.