pub struct DepthStencilModeBuilder { /* private fields */ }
Expand description

Builder for DepthStencilMode.

Implementations§

Control parameters of the stencil test.

Controls whether depth bounds testing is enabled.

A value specifying the comparison operator to use in the depth comparison step of the depth test.

Controls whether depth testing is enabled.

Controls whether depth writes are enabled when depth_test is true.

Depth writes are always disabled when depth_test is false.

Control parameters of the stencil test.

Minimum depth bound used in the depth bounds test.

Maximum depth bound used in the depth bounds test.

Controls whether stencil testing is enabled.

Builds a new DepthStencilMode.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.