2022-05-12 07:02:28 +00:00
|
|
|
//! 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;
|
2022-05-28 15:52:36 +00:00
|
|
|
pub use renderer::CallbackFn;
|
2022-05-12 07:02:28 +00:00
|
|
|
|
|
|
|
/// Module for painting [`egui`] with [`wgpu`] on [`winit`].
|
|
|
|
#[cfg(feature = "winit")]
|
|
|
|
pub mod winit;
|
2022-05-28 15:52:36 +00:00
|
|
|
#[cfg(feature = "winit")]
|
|
|
|
pub use crate::winit::RenderState;
|