Struct voodoo::DescriptorPool
[−]
[src]
pub struct DescriptorPool { /* fields omitted */ }
A descriptor pool.
Destruction
Dropping this DescriptorPool
will cause Device::destroy_descriptor_pool
to be called,
automatically releasing any resources associated with it.
Methods
impl DescriptorPool
[src]
pub fn builder<'b>() -> DescriptorPoolBuilder<'b>
[src]
Returns a new DescriptorPoolBuilder
.
pub fn handle(&self) -> DescriptorPoolHandle
[src]
Returns this object's handle.
pub fn device(&self) -> &Device
[src]
Returns a reference to the associated device.
pub fn allocate_descriptor_sets<Ds>(
&self,
layouts: &[Ds]
) -> VdResult<SmallVec<[DescriptorSet; 8]>> where
Ds: Handle<Target = DescriptorSetLayoutHandle>,
[src]
&self,
layouts: &[Ds]
) -> VdResult<SmallVec<[DescriptorSet; 8]>> where
Ds: Handle<Target = DescriptorSetLayoutHandle>,
Updates descriptor sets.
pub fn update_descriptor_sets(
&self,
descriptor_writes: &[WriteDescriptorSet],
descriptor_copies: &[CopyDescriptorSet]
)
[src]
&self,
descriptor_writes: &[WriteDescriptorSet],
descriptor_copies: &[CopyDescriptorSet]
)
Updates the contents of a descriptor set object.
https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkUpdateDescriptorSets.html
Trait Implementations
impl Debug for DescriptorPool
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DescriptorPool
[src]
fn clone(&self) -> DescriptorPool
[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