Struct vulkano::descriptor_set::pool::standard::StandardDescriptorPool
source · [−]pub struct StandardDescriptorPool { /* private fields */ }
Expand description
Standard implementation of a descriptor pool.
Interally, this implementation uses one SingleLayoutDescSetPool
/
SingleLayoutVariableDescSetPool
per descriptor set layout.
Implementations
sourceimpl StandardDescriptorPool
impl StandardDescriptorPool
sourcepub fn new(device: Arc<Device>) -> StandardDescriptorPool
pub fn new(device: Arc<Device>) -> StandardDescriptorPool
Builds a new StandardDescriptorPool
.
Trait Implementations
sourceimpl Debug for StandardDescriptorPool
impl Debug for StandardDescriptorPool
sourceimpl DescriptorPool for StandardDescriptorPool
impl DescriptorPool for StandardDescriptorPool
type Alloc = StandardDescriptorPoolAlloc
type Alloc = StandardDescriptorPoolAlloc
Object that represented an allocated descriptor set. Read more
sourcefn allocate(
&mut self,
layout: &Arc<DescriptorSetLayout>,
variable_descriptor_count: u32
) -> Result<StandardDescriptorPoolAlloc, OomError>
fn allocate(
&mut self,
layout: &Arc<DescriptorSetLayout>,
variable_descriptor_count: u32
) -> Result<StandardDescriptorPoolAlloc, OomError>
Allocates a descriptor set.
sourceimpl DeviceOwned for StandardDescriptorPool
impl DeviceOwned for StandardDescriptorPool
Auto Trait Implementations
impl !RefUnwindSafe for StandardDescriptorPool
impl !Send for StandardDescriptorPool
impl !Sync for StandardDescriptorPool
impl Unpin for StandardDescriptorPool
impl !UnwindSafe for StandardDescriptorPool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more