
* Re-implement PaintCallbacks With Support for WGPU This makes breaking changes to the PaintCallback system, but makes it flexible enough to support both the WGPU and glow backends with custom rendering. Also adds a WGPU equivalent to the glow demo for custom painting.
15 lines
425 B
Rust
15 lines
425 B
Rust
//! This crates provides bindings between [`egui`](https://github.com/emilk/egui) and [wgpu](https://crates.io/crates/wgpu).
|
|
|
|
#![allow(unsafe_code)]
|
|
|
|
pub use wgpu;
|
|
|
|
/// Low-level painting of [`egui`] on [`wgpu`].
|
|
pub mod renderer;
|
|
pub use renderer::CallbackFn;
|
|
|
|
/// Module for painting [`egui`] with [`wgpu`] on [`winit`].
|
|
#[cfg(feature = "winit")]
|
|
pub mod winit;
|
|
#[cfg(feature = "winit")]
|
|
pub use crate::winit::RenderState;
|