summaryrefslogtreecommitdiff
path: root/engine/src/renderer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/renderer.rs')
-rw-r--r--engine/src/renderer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/src/renderer.rs b/engine/src/renderer.rs
index b52e6b9..68e8aed 100644
--- a/engine/src/renderer.rs
+++ b/engine/src/renderer.rs
@@ -279,6 +279,7 @@ pub struct DrawProperties
pub depth_test_enabled: bool,
pub scissor_test_enabled: bool,
pub scissor_box: ScissorBox,
+ pub face_culling_enabled: bool,
}
impl Default for DrawProperties
@@ -292,6 +293,7 @@ impl Default for DrawProperties
depth_test_enabled: true,
scissor_test_enabled: false,
scissor_box: ScissorBox::default(),
+ face_culling_enabled: false,
}
}
}
@@ -306,6 +308,7 @@ bitflags! {
const DEPTH_TEST_ENABLED = 1 << 3;
const SCISSOR_TEST_ENABLED = 1 << 4;
const SCISSOR_BOX = 1 << 5;
+ const FACE_CULLING_ENABLED = 1 << 6;
}
}