From d672e147db0df6186c528262367770dcde9d75fc Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sun, 9 Aug 2026 17:36:41 -0700 Subject: rename and reexport a bunch of graphics state types the word "graphics" is part of the module name, so it does not need to be part of the struct name the fact that an object holds state is... not strictly implied by the fact it's a struct, but it happens that ALL our objects exist primarily to hold state, so we remove that word as well Force-Push: yes Change-Id: I1b3e2ac0f1c29304e75a190172463aabfba4b3a4 --- src/graphics/mod.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/graphics/mod.rs') diff --git a/src/graphics/mod.rs b/src/graphics/mod.rs index 3d03f9c..bb12c80 100644 --- a/src/graphics/mod.rs +++ b/src/graphics/mod.rs @@ -1,9 +1,15 @@ #![deny(unsafe_code)] - pub mod model; pub mod permanent; -pub mod render_state; +pub mod render; pub mod texture; pub mod scene; pub mod util; pub mod window_dressing; + +pub use crate::graphics::model::Model; +pub use crate::graphics::texture::Texture; +pub use crate::graphics::permanent::{ Permanent, ForReinit }; +pub use crate::graphics::render::Render; +pub use crate::graphics::window_dressing::WindowDressing; + -- cgit 1.4.1