Struct wgpu_types::DepthBiasState [−][src]
Expand description
Describes the biasing setting for the depth target.
Fields
constant: i32Constant depth biasing factor, in basic units of the depth format.
slope_scale: f32Slope depth biasing factor.
clamp: f32Depth bias clamp value (absolute).
Implementations
Returns true if the depth biasing is enabled.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DepthBiasState
impl Send for DepthBiasState
impl Sync for DepthBiasState
impl Unpin for DepthBiasState
impl UnwindSafe for DepthBiasState
Blanket Implementations
Mutably borrows from an owned value. Read more
