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 DepthBiasStateimpl Send for DepthBiasStateimpl Sync for DepthBiasStateimpl Unpin for DepthBiasStateimpl UnwindSafe for DepthBiasStateBlanket Implementations
Mutably borrows from an owned value. Read more