[−][src]Struct lava::VkQueue
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]
&self,
submits: Vec<VkSubmitInfo>,
fence: Option<VkFence>
) -> LavaResult<()>
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]
&self,
bind_info: Vec<VkBindSparseInfo>,
fence: Option<VkFence>
) -> LavaResult<()>
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]
Wrapper for vkQueueBeginDebugUtilsLabelEXT.
pub fn end_debug_utils_label(&self)
[src]
Wrapper for vkQueueEndDebugUtilsLabelEXT.
pub fn insert_debug_utils_label(&self, label_info: VkDebugUtilsLabel)
[src]
Wrapper for vkQueueInsertDebugUtilsLabelEXT.
pub fn get_checkpoint_data(&self) -> Vec<VkCheckpointData>
[src]
Wrapper for vkGetQueueCheckpointDataNV.
pub fn set_performance_configuration(
&self,
configuration: VkPerformanceConfiguration
) -> LavaResult<()>
[src]
&self,
configuration: VkPerformanceConfiguration
) -> LavaResult<()>
Wrapper for vkQueueSetPerformanceConfigurationINTEL.
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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,