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

pub struct SingleLayoutDescSetPool { /* fields omitted */ }
Expand description

SingleLayoutDescSetPool is a convenience wrapper provided by Vulkano not to be confused with VkDescriptorPool. Its function is to provide access to pool(s) to allocate DescriptorSet’s from and optimizes for a specific layout. For a more general purpose pool see descriptor_set::pool::StdDescriptorPool.

Implementations

Initializes a new pool. The pool is configured to allocate sets that corresponds to the parameters passed to this function.

Panics
  • Panics if the provided layout is for push descriptors rather than regular descriptor sets.
  • Panics if the provided layout has a binding with a variable descriptor count.

Starts the process of building a new descriptor set.

The set will corresponds to the set layout that was passed to new.

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.