Skip to main content

Module wgpu_28

Module wgpu_28 

Source
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
wgpu is 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§

WGPUSettings
This data structure provides settings for initializing WGPU renderers.

Enums§

TextureImportError
This enum describes the possible errors that can occur when importing a WGPU texture, via Image::try_from().
WGPUConfiguration
This enum describes the different ways to configure WGPU for rendering.