mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Make egui_wgpu::renderer a private module (#3979)
All its contents is exported to the top-level
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
//! If you're targeting WebGL you also need to turn on the
|
||||
//! `webgl` feature of the `wgpu` crate:
|
||||
//!
|
||||
//! ```ignore
|
||||
//! ```toml
|
||||
//! # Enable both WebGL and WebGPU backends on web.
|
||||
//! wgpu = { version = "*", features = ["webgpu", "webgl"] }
|
||||
//! ```
|
||||
@@ -21,9 +21,9 @@
|
||||
pub use wgpu;
|
||||
|
||||
/// Low-level painting of [`egui`](https://github.com/emilk/egui) on [`wgpu`].
|
||||
pub mod renderer;
|
||||
pub use renderer::Renderer;
|
||||
pub use renderer::{Callback, CallbackResources, CallbackTrait};
|
||||
mod renderer;
|
||||
|
||||
pub use renderer::*;
|
||||
|
||||
/// Module for painting [`egui`](https://github.com/emilk/egui) with [`wgpu`] on [`winit`].
|
||||
#[cfg(feature = "winit")]
|
||||
|
||||
Reference in New Issue
Block a user