mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Improved wgpu callbacks (#3253)
* Improved wgpu callbacks * update documentation on egui_wgpu callbacks * make shared callback resource map pub * make it nicer to create epaint::PaintCallback from egui_wgpu callback * constrain ClippedPrimitive lifetime to outlive wgpu::RenderPass * Revert callback resources to TypeMap, put finish_prepare on callback trait * doc string fixes
This commit is contained in:
@@ -10,8 +10,8 @@ pub use wgpu;
|
||||
|
||||
/// Low-level painting of [`egui`](https://github.com/emilk/egui) on [`wgpu`].
|
||||
pub mod renderer;
|
||||
pub use renderer::CallbackFn;
|
||||
pub use renderer::Renderer;
|
||||
pub use renderer::{Callback, CallbackResources, CallbackTrait};
|
||||
|
||||
/// Module for painting [`egui`](https://github.com/emilk/egui) with [`wgpu`] on [`winit`].
|
||||
#[cfg(feature = "winit")]
|
||||
|
||||
Reference in New Issue
Block a user