[][src]Struct lava::VkDescriptorPool

pub struct VkDescriptorPool { /* fields omitted */ }

Wrapper for VkDescriptorPool.

Methods

impl VkDescriptorPool[src]

pub fn vk_handle(&self) -> u64[src]

Returns the internal Vulkan handle for the object.

pub fn is_null(&self) -> bool[src]

Indicates if the Vulkan internal handle for this object is 0.

pub fn null() -> Self[src]

Creates an object with a null Vulkan internal handle.

Calling a method with a null handle will most likely result in a crash.

pub fn destroy(&self)[src]

pub fn reset(&self, flags: VkDescriptorPoolResetFlags) -> LavaResult<()>[src]

Wrapper for vkResetDescriptorPool.

pub fn free_descriptor_sets(
    &self,
    descriptor_sets: Vec<VkDescriptorSet>
) -> LavaResult<()>
[src]

Wrapper for vkFreeDescriptorSets.

Trait Implementations

impl Copy for VkDescriptorPool[src]

impl PartialEq<VkDescriptorPool> for VkDescriptorPool[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Default for VkDescriptorPool[src]

impl Clone for VkDescriptorPool[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VkDescriptorPool[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]