Struct vulkano::descriptor::descriptor_set::DescriptorPool
[−]
[src]
pub struct DescriptorPool { /* fields omitted */ }
Pool from which descriptor sets are allocated from.
A pool has a maximum number of descriptor sets and a maximum number of descriptors (one value per descriptor type) it can allocate.
Methods
impl DescriptorPool
[src]
fn raw(device: &Arc<Device>) -> Result<DescriptorPool, OomError>
See the docs of new().
fn new(device: &Arc<Device>) -> Arc<DescriptorPool>
fn device(&self) -> &Arc<Device>
Returns the device this pool was created from.
Trait Implementations
impl SynchronizedVulkanObject for DescriptorPool
[src]
type Object = DescriptorPool
The type of the object.
fn internal_object_guard(&self) -> MutexGuard<DescriptorPool>
Returns a reference to the object.