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

Describes the layout of descriptor sets and push constants that are made available to shaders.

Implementations

Creates a new PipelineLayout.

Returns the descriptor set layouts this pipeline layout was created from.

Returns a slice containing the push constant ranges this pipeline layout was created from.

The ranges are guaranteed to be sorted deterministically by offset, size, then stages. This means that two slices containing the same elements will always have the same order.

Returns whether self is compatible with other for the given number of sets.

Makes sure that self is a superset of the provided descriptor set layouts and push constant ranges. Returns an Err if this is not the case.

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

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

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.

Performs the conversion.

Performs the conversion.

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.