[][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]

pub fn set_performance_configuration(
    &self,
    configuration: VkPerformanceConfiguration
) -> LavaResult<()>
[src]

Trait Implementations

impl Clone for VkQueue[src]

impl Copy for VkQueue[src]

impl Default for VkQueue[src]

impl PartialEq<VkQueue> for VkQueue[src]

impl Debug for VkQueue[src]

Auto Trait Implementations

impl !Send for VkQueue

impl !Sync for VkQueue

impl Unpin for VkQueue

impl UnwindSafe for VkQueue

impl RefUnwindSafe for VkQueue

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<T> for T where
    T: ?Sized
[src]

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

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