pub struct GraphicsCommandPool { /* private fields */ }Expand description
A command pool for the graphics queue.
Implementations§
Source§impl GraphicsCommandPool
impl GraphicsCommandPool
Sourcepub fn raw(&self) -> CommandPool
pub fn raw(&self) -> CommandPool
The raw Vulkan command pool handle.
Sourcepub unsafe fn create_command_buffer(
&mut self,
wait_semaphores: &[CommandBufferSemaphore],
signal_semaphores: &[CommandBufferSemaphore],
) -> Result<GraphicsCommandBuffer, AscheError>
pub unsafe fn create_command_buffer( &mut self, wait_semaphores: &[CommandBufferSemaphore], signal_semaphores: &[CommandBufferSemaphore], ) -> Result<GraphicsCommandBuffer, AscheError>
Creates a new command buffer.
Sourcepub unsafe fn reset(&self) -> Result<(), AscheError>
pub unsafe fn reset(&self) -> Result<(), AscheError>
Resets a command pool.
Trait Implementations§
Source§impl Debug for GraphicsCommandPool
impl Debug for GraphicsCommandPool
Auto Trait Implementations§
impl Freeze for GraphicsCommandPool
impl RefUnwindSafe for GraphicsCommandPool
impl Send for GraphicsCommandPool
impl Sync for GraphicsCommandPool
impl Unpin for GraphicsCommandPool
impl UnwindSafe for GraphicsCommandPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more