Struct asche::DescriptorPool [−][src]
pub struct DescriptorPool { pub raw: DescriptorPool, // some fields omitted }
Expand description
Wraps a descriptor pool.
Fields
raw: DescriptorPool
The raw Vulkan descriptor pool.
Implementations
pub fn create_descriptor_set(
&self,
name: &str,
layout: &DescriptorSetLayout,
descriptor_count: Option<u32>
) -> Result<DescriptorSet, AscheError>
pub 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.