Struct voodoo::DescriptorPoolBuilder
[−]
[src]
pub struct DescriptorPoolBuilder<'b> { /* fields omitted */ }
A builder for DescriptorPool
.
Methods
impl<'b> DescriptorPoolBuilder<'b>
[src]
pub fn new() -> DescriptorPoolBuilder<'b>
[src]
Returns a new render pass builder.
pub fn flags<'s>(
&'s mut self,
flags: DescriptorPoolCreateFlags
) -> &'s mut DescriptorPoolBuilder<'b>
[src]
&'s mut self,
flags: DescriptorPoolCreateFlags
) -> &'s mut DescriptorPoolBuilder<'b>
flags is a bitmask of VkDescriptorPoolCreateFlagBits specifying certain supported operations on the pool.
pub fn max_sets<'s>(
&'s mut self,
max_sets: u32
) -> &'s mut DescriptorPoolBuilder<'b>
[src]
&'s mut self,
max_sets: u32
) -> &'s mut DescriptorPoolBuilder<'b>
maxSets is the maximum number of descriptor sets that can be allocated from the pool.
pub fn pool_sizes<'s, 'p>(
&'s mut self,
pool_sizes: &'p [DescriptorPoolSize]
) -> &'s mut DescriptorPoolBuilder<'b> where
'p: 'b,
[src]
&'s mut self,
pool_sizes: &'p [DescriptorPoolSize]
) -> &'s mut DescriptorPoolBuilder<'b> where
'p: 'b,
pPoolSizes is a pointer to an array of VkDescriptorPoolSize structures, each containing a descriptor type and number of descriptors of that type to be allocated in the pool.
pub fn build(&self, device: Device) -> VdResult<DescriptorPool>
[src]
Creates and returns a new DescriptorPool
Trait Implementations
impl<'b> Debug for DescriptorPoolBuilder<'b>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'b> Clone for DescriptorPoolBuilder<'b>
[src]
fn clone(&self) -> DescriptorPoolBuilder<'b>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more