summary refs log tree commit diff
path: root/src/graphics/mod.rs
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-08-09 17:36:41 -0700
committerIrene Knapp <ireneista@irenes.space>2026-08-09 17:53:43 -0700
commitd672e147db0df6186c528262367770dcde9d75fc (patch)
tree58d590891fffec7d5db47e8adf9beb677a5a1356 /src/graphics/mod.rs
parent4158fed109ae789cb3ca7ff53c2790797a3b4087 (diff)
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
Diffstat (limited to 'src/graphics/mod.rs')
-rw-r--r--src/graphics/mod.rs10
1 files changed, 8 insertions, 2 deletions
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;
+