summaryrefslogtreecommitdiff
path: root/engine/src/draw_flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/draw_flags.rs')
-rw-r--r--engine/src/draw_flags.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/src/draw_flags.rs b/engine/src/draw_flags.rs
index c8c11c9..23ea22f 100644
--- a/engine/src/draw_flags.rs
+++ b/engine/src/draw_flags.rs
@@ -47,3 +47,7 @@ pub enum PolygonModeFace
#[default]
FrontAndBack,
}
+
+/// Component that makes a object not be drawn.
+#[derive(Debug, Clone, Copy, Component)]
+pub struct NoDraw;