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>
[src]
pub fn create_descriptor_set(
&self,
name: &str,
layout: &DescriptorSetLayout,
descriptor_count: Option<u32>
) -> Result<DescriptorSet, AscheError>
[src]Creates a new descriptor set with the given `DescriptorSetLayout``.
Frees all descriptor sets allocated from the pool. Invalidates all descriptor sets from the pool.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DescriptorPool
impl Send for DescriptorPool
impl Sync for DescriptorPool
impl Unpin for DescriptorPool
impl !UnwindSafe for DescriptorPool