Struct asche::GraphicsQueue [−][src]
pub struct GraphicsQueue { /* fields omitted */ }
Expand description
A queue for graphics operations.
Implementations
The queue family index of this queue.
Creates a new command pool. Pools are not cached and are owned by the caller.
pub unsafe fn submit(
&mut self,
command_buffer: &GraphicsCommandBuffer,
fence: Option<&Fence>
) -> Result<(), AscheError>
pub unsafe fn submit(
&mut self,
command_buffer: &GraphicsCommandBuffer,
fence: Option<&Fence>
) -> Result<(), AscheError>
Submits a command buffer to a queue. Vulkan Manual Page
pub unsafe fn submit_all(
&mut self,
command_buffer: &[GraphicsCommandBuffer],
fence: Option<&Fence>
) -> Result<(), AscheError>
pub unsafe fn submit_all(
&mut self,
command_buffer: &[GraphicsCommandBuffer],
fence: Option<&Fence>
) -> Result<(), AscheError>
Submit command buffers to a queue. Vulkan Manual Page
Wait for a queue to become idle. Vulkan Manual Page
pub unsafe fn begin_debug_utils_label(
&self,
label: &str,
color: [f32; 4]
) -> Result<(), AscheError>
pub unsafe fn begin_debug_utils_label(
&self,
label: &str,
color: [f32; 4]
) -> Result<(), AscheError>
Open a queue debug label region. Vulkan Manual Page
Close a queue debug label region. Vulkan Manual Page
pub unsafe fn insert_debug_utils_label(
&self,
label: &str,
color: [f32; 4]
) -> Result<(), AscheError>
pub unsafe fn insert_debug_utils_label(
&self,
label: &str,
color: [f32; 4]
) -> Result<(), AscheError>
Insert a label into a queue. Vulkan Manual Page