Enum vulkano::pipeline::depth_stencil::DepthBounds
[−]
[src]
pub enum DepthBounds { Disabled, Fixed(Range<f32>), Dynamic, }
Allows you to ask the GPU to exclude fragments that are outside of a certain range.
Variants
Disabled
The test is disabled. All fragments pass the depth bounds test.
Fixed(Range<f32>)
Fragments that are within the given range do pass the test. Values are depth values between 0.0 and 1.0.
Dynamic
The depth bounds test is enabled, but the range will need to specified when you submit a draw command.
Methods
impl DepthBounds
[src]
fn is_dynamic(&self) -> bool
Returns true if equal to DepthBounds::Dynamic
.
Trait Implementations
impl Debug for DepthBounds
[src]
impl Clone for DepthBounds
[src]
fn clone(&self) -> DepthBounds
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DepthBounds
[src]
fn eq(&self, __arg_0: &DepthBounds) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DepthBounds) -> bool
This method tests for !=
.