pub struct BatchSubmission { /* private fields */ }Expand description
Batch submission context
Implementations§
Source§impl BatchSubmission
impl BatchSubmission
pub fn new() -> Self
Sourcepub fn add_command_buffer(&mut self, cb: VkCommandBuffer)
pub fn add_command_buffer(&mut self, cb: VkCommandBuffer)
Add a command buffer to the batch
Sourcepub fn add_wait(
&mut self,
semaphore: VkSemaphore,
value: u64,
stage: VkPipelineStageFlags,
)
pub fn add_wait( &mut self, semaphore: VkSemaphore, value: u64, stage: VkPipelineStageFlags, )
Add a wait dependency from another queue
Auto Trait Implementations§
impl Freeze for BatchSubmission
impl RefUnwindSafe for BatchSubmission
impl Send for BatchSubmission
impl Sync for BatchSubmission
impl Unpin for BatchSubmission
impl UnwindSafe for BatchSubmission
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