pub fn build(&self, device: Device) -> VdResult<DescriptorPool> {
        let handle = unsafe { device.create_descriptor_pool(&self.create_info, None)? };

        Ok(DescriptorPool {
            inner: Arc::new(Inner {
                handle,
                device,
            })
        })
    }
/// Creates and returns a new `DescriptorPool`
Creates and returns a new `DescriptorPool`
Creates and returns a new ` DescriptorPool `
pub fn build(&self, device: Device) -> VdResult<DescriptorPool> {
        let handle = unsafe { device.create_descriptor_pool(&self.create_info, None)? };
        Ok(DescriptorPool {
            inner: Arc::new(Inner {
                handle,
                device,
            })
        })
    }
pub fn build ( & self , device : Device ) -> VdResult < DescriptorPool > { let handle = unsafe { device . create_descriptor_pool ( & self . create_info , None ) ? } ; Ok ( DescriptorPool { inner : Arc :: new ( Inner { handle , device , } ) } ) }
Creates and returns a new `DescriptorPool`
Creates and returns a new ` DescriptorPool `
&self
device
Device
&self
device
Device