[][src]Struct lava::VkQueue

pub struct VkQueue { /* fields omitted */ }

Wrapper for VkQueue.

Methods

impl VkQueue[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 submit(
    &self,
    submits: Vec<VkSubmitInfo>,
    fence: Option<VkFence>
) -> LavaResult<()>
[src]

Wrapper for vkQueueSubmit.

pub fn wait_idle(&self) -> LavaResult<()>[src]

Wrapper for vkQueueWaitIdle.

pub fn bind_sparse(
    &self,
    bind_info: Vec<VkBindSparseInfo>,
    fence: Option<VkFence>
) -> LavaResult<()>
[src]

Wrapper for vkQueueBindSparse.

pub fn present(&self, present_info: VkPresentInfo) -> LavaResult<Vec<VkResult>>[src]

Wrapper for vkQueuePresentKHR.

If present_info.results is true, then the method returns a vector of VkResult with each value indicating the individual result for the swapchain with the corresponding index. If it is false, then the vector is always empty.

pub fn begin_debug_utils_label(&self, label_info: VkDebugUtilsLabel)[src]

pub fn end_debug_utils_label(&self)[src]

pub fn insert_debug_utils_label(&self, label_info: VkDebugUtilsLabel)[src]

pub fn get_checkpoint_data(&self) -> Vec<VkCheckpointData>[src]

Trait Implementations

impl Copy for VkQueue[src]

impl Clone for VkQueue[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<VkQueue> for VkQueue[src]

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

This method tests for !=.

impl Default for VkQueue[src]

impl Debug for VkQueue[src]

Auto Trait Implementations

impl !Send for VkQueue

impl !Sync for VkQueue

Blanket Implementations

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

impl<T> From for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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> Any for T where
    T: 'static + ?Sized
[src]

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