pub struct PersistentDescriptorSetBuilderArray<L, R> { /* private fields */ }
Expand description

Same as PersistentDescriptorSetBuilder, but we’re in an array.

Implementations

Leaves the array. Call this once you added all the elements of the array.

Binds a buffer as the next element in the array.

An error is returned if the buffer isn’t compatible with the descriptor.

Panic

Panics if the buffer doesn’t have the same device as the pipeline layout.

Binds a buffer view as the next element in the array.

An error is returned if the buffer isn’t compatible with the descriptor.

Panic

Panics if the buffer view doesn’t have the same device as the pipeline layout.

Binds an image view as the next element in the array.

An error is returned if the image view isn’t compatible with the descriptor.

Panic

Panics if the image view doesn’t have the same device as the pipeline layout.

Binds an image view with a sampler as the next element in the array.

An error is returned if the image view isn’t compatible with the descriptor.

Panic

Panics if the image or the sampler doesn’t have the same device as the pipeline layout.

Binds a sampler as the next element in the array.

An error is returned if the sampler isn’t compatible with the descriptor.

Panic

Panics if the sampler doesn’t have the same device as the pipeline layout.

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.

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.