pub struct TransferCommandBuffer { /* private fields */ }Expand description
A command buffer for the transfer queue. Command buffer need to be reset using the parent pool.
Implementations§
Source§impl TransferCommandBuffer
impl TransferCommandBuffer
Sourcepub fn raw(&self) -> CommandBuffer
pub fn raw(&self) -> CommandBuffer
The raw Vulkan command buffer handle.
Sourcepub unsafe fn record(&self) -> Result<TransferCommandEncoder<'_>, AscheError>
pub unsafe fn record(&self) -> Result<TransferCommandEncoder<'_>, AscheError>
Begins to record the command buffer. Encoder will finish recording on drop.
Sourcepub fn set_semaphores(
&mut self,
wait_semaphores: &[CommandBufferSemaphore],
signal_semaphores: &[CommandBufferSemaphore],
)
pub fn set_semaphores( &mut self, wait_semaphores: &[CommandBufferSemaphore], signal_semaphores: &[CommandBufferSemaphore], )
Sets the wait and signal semaphores of the command buffer.
Trait Implementations§
Source§impl Debug for TransferCommandBuffer
impl Debug for TransferCommandBuffer
Auto Trait Implementations§
impl Freeze for TransferCommandBuffer
impl RefUnwindSafe for TransferCommandBuffer
impl Send for TransferCommandBuffer
impl Sync for TransferCommandBuffer
impl Unpin for TransferCommandBuffer
impl UnwindSafe for TransferCommandBuffer
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