Expand description
GPU rendering backend for truce plugins.
Uses wgpu (Metal/DX12 backends per the workspace’s feature pin) with
lyon tessellation and a fontdue glyph atlas. Implements
truce_gui::RenderBackend so widgets render identically to the CPU
path.
Platform windowing is provided by baseview.
Re-exports§
pub use editor::GpuEditor;
Modules§
- editor
- GPU editor - wraps
BuiltinEditorrendering with wgpu + baseview. - platform
- Platform window bridging for baseview.
Macros§
- hot_
debug - Crate-wide debug-print macro for GPU init / render hot-reload paths.
Compiles to nothing unless the
hot-debugfeature is enabled. Defined at crate root so any module undertruce_gpu::*can reach it without re-importing.
Structs§
- Wgpu
Backend - GPU-based rendering backend.