Minor work on depth stencil

This commit is contained in:
Pierre Krieger 2016-02-28 13:10:56 +01:00
parent 693ed347fa
commit f38517a3e3

View File

@ -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;