Struct asche::DescriptorPool [−][src]
pub struct DescriptorPool { /* fields omitted */ }
Expand description
Wraps a descriptor pool.
Implementations
The raw Vulkan descriptor pool handle.
pub unsafe fn create_descriptor_set(
&self,
name: &str,
layout: &DescriptorSetLayout,
descriptor_count: Option<u32>
) -> Result<DescriptorSet, AscheError>
pub unsafe fn create_descriptor_set(
&self,
name: &str,
layout: &DescriptorSetLayout,
descriptor_count: Option<u32>
) -> Result<DescriptorSet, AscheError>
Creates a new descriptor set with the given DescriptorSetLayout
.
Frees all descriptor sets allocated from the pool. Invalidates all descriptor sets from the pool.