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

The test is disabled. All fragments pass the depth bounds test.

Fragments that are within the given range do pass the test. Values are depth values between 0.0 and 1.0.

The depth bounds test is enabled, but the range will need to specified when you submit a draw command.

Methods

impl DepthBounds
[src]

[src]

Returns true if equal to DepthBounds::Dynamic.

Trait Implementations

impl Debug for DepthBounds
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DepthBounds
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DepthBounds
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for DepthBounds

impl Sync for DepthBounds