diff --git a/crates/egui/src/memory/mod.rs b/crates/egui/src/memory/mod.rs index dcb5faedf13..06c77685e2f 100644 --- a/crates/egui/src/memory/mod.rs +++ b/crates/egui/src/memory/mod.rs @@ -95,7 +95,12 @@ pub struct Memory { #[cfg_attr(feature = "persistence", serde(skip))] everything_is_visible: bool, - /// Transforms per layer + /// Transforms per layer. + /// + /// Instead of using this directly, use: + /// * [`Context::set_transform_layer`] + /// * [`Context::layer_transform_to_global`] + /// * [`Context::layer_transform_from_global`] pub to_global: HashMap, // -------------------------------------------------