Struct vulkano::descriptor_set::single_layout_pool::SingleLayoutDescSetBuilder[][src]

pub struct SingleLayoutDescSetBuilder<'a> { /* fields omitted */ }
Expand description

Prototype of a SingleLayoutDescSet.

Implementations

Call this function if the next element of the set is an array in order to set the value of each element.

Returns an error if the descriptor is empty, there are no remaining descriptors, or if the builder is already in an error.

This function can be called even if the descriptor isn’t an array, and it is valid to enter the “array”, add one element, then leave.

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

Returns an error if the array is missing elements, or if the builder is not in an array.

Skips the current descriptor if it is empty.

Binds a buffer as the next descriptor.

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

Binds a buffer view as the next descriptor.

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

Binds an image view as the next descriptor.

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

Binds an image view with a sampler as the next descriptor.

If the descriptor set layout contains immutable samplers for this descriptor, use add_image instead.

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

Binds a sampler as the next descriptor.

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

Builds a SingleLayoutDescSet from the builder.

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.