logo
pub struct GraphicsPipeline { /* private fields */ }
Expand description

Defines how the implementation should perform a draw operation.

This object contains the shaders and the various fixed states that describe how the implementation should perform the various operations needed by a draw command.

Implementations

Starts the building process of a graphics pipeline. Returns a builder object that you can fill with the various parameters.

Returns the device used to create this pipeline.

Returns the render pass this graphics pipeline is rendering to.

Returns an iterator over the descriptor requirements for this pipeline.

Returns the vertex input state used to create this pipeline.

Returns the input assembly state used to create this pipeline.

Returns the tessellation state used to create this pipeline.

Returns the viewport state used to create this pipeline.

Returns the discard rectangle state used to create this pipeline.

Returns the rasterization state used to create this pipeline.

Returns the multisample state used to create this pipeline.

Returns the depth/stencil state used to create this pipeline.

Returns the color blend state used to create this pipeline.

Returns whether a particular state is must be dynamically set.

None is returned if the pipeline does not contain this state. Previously set dynamic state is not disturbed when binding it.

Returns all potentially dynamic states in the pipeline, and whether they are dynamic or not.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the device that owns Self.
Executes the destructor for this type. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Returns the bind point of this pipeline.
Returns the pipeline layout used in this pipeline.
Returns the number of descriptor sets actually accessed by this pipeline. This may be less than the number of sets in the pipeline layout. Read more
The type of the object.
Returns a reference to the object.

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.