Struct vulkano::command_buffer::submit::SubmitSemaphoresWaitBuilder
source · [−]pub struct SubmitSemaphoresWaitBuilder<'a> { /* private fields */ }
Expand description
Prototype for a submission that waits on semaphores.
This prototype can’t actually be submitted because it doesn’t correspond to anything in Vulkan.
However you can convert it into another builder prototype through the Into
trait.
Implementations
sourceimpl<'a> SubmitSemaphoresWaitBuilder<'a>
impl<'a> SubmitSemaphoresWaitBuilder<'a>
sourcepub fn new() -> SubmitSemaphoresWaitBuilder<'a>
pub fn new() -> SubmitSemaphoresWaitBuilder<'a>
Builds a new empty SubmitSemaphoresWaitBuilder
.
sourcepub unsafe fn add_wait_semaphore(&mut self, semaphore: &'a Semaphore)
pub unsafe fn add_wait_semaphore(&mut self, semaphore: &'a Semaphore)
Adds an operation that waits on a semaphore.
The semaphore must be signaled by a previous submission.
sourcepub fn merge(&mut self, other: SubmitSemaphoresWaitBuilder<'a>)
pub fn merge(&mut self, other: SubmitSemaphoresWaitBuilder<'a>)
Merges this builder with another builder.
Trait Implementations
sourceimpl<'a> Debug for SubmitSemaphoresWaitBuilder<'a>
impl<'a> Debug for SubmitSemaphoresWaitBuilder<'a>
sourceimpl<'a> Into<SubmitCommandBufferBuilder<'a>> for SubmitSemaphoresWaitBuilder<'a>
impl<'a> Into<SubmitCommandBufferBuilder<'a>> for SubmitSemaphoresWaitBuilder<'a>
sourcefn into(self) -> SubmitCommandBufferBuilder<'a>
fn into(self) -> SubmitCommandBufferBuilder<'a>
Performs the conversion.
sourceimpl<'a> Into<SubmitPresentBuilder<'a>> for SubmitSemaphoresWaitBuilder<'a>
impl<'a> Into<SubmitPresentBuilder<'a>> for SubmitSemaphoresWaitBuilder<'a>
sourcefn into(self) -> SubmitPresentBuilder<'a>
fn into(self) -> SubmitPresentBuilder<'a>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubmitSemaphoresWaitBuilder<'a>
impl<'a> Send for SubmitSemaphoresWaitBuilder<'a>
impl<'a> Sync for SubmitSemaphoresWaitBuilder<'a>
impl<'a> Unpin for SubmitSemaphoresWaitBuilder<'a>
impl<'a> UnwindSafe for SubmitSemaphoresWaitBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more