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>
Converts this type into the (usually inferred) input type.
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>
Converts this type into the (usually inferred) input type.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.