Struct vulkano::pipeline::graphics::rasterization::DepthBias [−][src]
Expand description
The values to use for depth biasing.
Fields
constant_factor: f32
Specifies a constant factor to be added to every depth value.
clamp: f32
The maximum (or minimum) depth bias of a fragment.
Setting this to a value other than 0.0 requires the
depth_bias_clamp
feature to be enabled on
the device.
slope_factor: f32
A scalar factor applied to a fragment’s slope in depth bias calculations.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DepthBias
impl UnwindSafe for DepthBias
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.