Expand description
GPU rendering primitives for truce plugins.
Provides WgpuBackend, the wgpu+lyon+skrifa implementation of
truce_gui_types::RenderBackend. Used by the user-facing
editor wrappers (truce_gui::GpuEditor, truce_egui::EguiEditor,
truce_iced::IcedEditor, truce_slint::SlintEditor) and as the
GPU pipeline backing truce_gui::default_editor.
Plugin authors don’t depend on this crate directly - they call
truce_gui::default_editor(...) from their PluginLogic::editor
impl, which pulls WgpuBackend transitively.
Modules§
- platform
- Platform window bridging for baseview / wgpu.
- pump
- Surface pump: owns the wgpu surface and every swapchain call, on a dedicated thread on Windows and inline elsewhere.
Structs§
- Wgpu
Backend - GPU-based rendering backend.