1
0
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:
Emil Ernerfeldt
2024-02-05 15:12:59 +01:00
committed by GitHub
parent 1858167296
commit 217e066626
5 changed files with 9 additions and 10 deletions

View File

@@ -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")]