mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-19 18:42:31 +00:00
Minor work on depth stencil
This commit is contained in:
parent
693ed347fa
commit
f38517a3e3
@ -1,10 +1,21 @@
|
||||
use std::ops::Range;
|
||||
|
||||
pub struct DepthStencil {
|
||||
depth_write: bool,
|
||||
depth_compare: Compare,
|
||||
depth_bounds_test: bool,
|
||||
depth_bounds_test: Option<Range<f32>>,
|
||||
}
|
||||
|
||||
impl Default for DepthStencil {
|
||||
#[inline]
|
||||
fn default() -> DepthStencil {
|
||||
DepthStencil {
|
||||
depth_write: false,
|
||||
depth_compare: Compare::Always,
|
||||
depth_bounds_test: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VkBool32 depthTestEnable;
|
||||
|
Loading…
Reference in New Issue
Block a user