pub struct DescriptorPool { /* private fields */ }Implementations§
Source§impl DescriptorPool
impl DescriptorPool
pub fn new( device: Arc<Device>, properties: DescriptorPoolProperties, ) -> VkResult<Self>
pub unsafe fn new_from_create_info( device: Arc<Device>, create_info_builder: DescriptorPoolCreateInfoBuilder<'_>, ) -> VkResult<Self>
pub fn allocate_descriptor_set( self: &Arc<Self>, layout: Arc<DescriptorSetLayout>, ) -> VkResult<DescriptorSet>
pub fn allocate_descriptor_sets( self: &Arc<Self>, layouts: Vec<Arc<DescriptorSetLayout>>, ) -> VkResult<Vec<DescriptorSet>>
pub fn handle(&self) -> DescriptorPool
pub fn properties(&self) -> &DescriptorPoolProperties
Trait Implementations§
Source§impl DeviceOwned for DescriptorPool
impl DeviceOwned for DescriptorPool
Auto Trait Implementations§
impl Freeze for DescriptorPool
impl RefUnwindSafe for DescriptorPool
impl Send for DescriptorPool
impl Sync for DescriptorPool
impl Unpin for DescriptorPool
impl UnwindSafe for DescriptorPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more