pub enum QueueSubmitInfo<'a> {
QueueSubmit {
waits: &'a [SemaphoreSubmitInfo],
signals: &'a [SemaphoreSubmitInfo],
},
QueueSubmit2 {
waits: &'a [SemaphoreSubmit2Info],
signals: &'a [SemaphoreSubmit2Info],
},
}Expand description
Submission payload for RecordedSubmission::queue_submit.
Variants§
QueueSubmit
Submit using vkQueueSubmit.
See vkQueueSubmit.
Fields
§
waits: &'a [SemaphoreSubmitInfo]Semaphores to wait on before execution begins.
§
signals: &'a [SemaphoreSubmitInfo]Semaphores to signal after execution completes.
QueueSubmit2
Submit using vkQueueSubmit2.
See vkQueueSubmit2.
Fields
§
waits: &'a [SemaphoreSubmit2Info]Semaphores to wait on before execution begins.
§
signals: &'a [SemaphoreSubmit2Info]Semaphores to signal after execution completes.
Implementations§
Source§impl QueueSubmitInfo<'static>
impl QueueSubmitInfo<'static>
Sourcepub const QUEUE_SUBMIT: Self
pub const QUEUE_SUBMIT: Self
A vkQueueSubmit payload with no waits or signals.
Sourcepub const QUEUE_SUBMIT2: Self
pub const QUEUE_SUBMIT2: Self
A vkQueueSubmit2 payload with no waits or signals.
Source§impl<'a> QueueSubmitInfo<'a>
impl<'a> QueueSubmitInfo<'a>
Sourcepub fn queue_submit(
waits: &'a [SemaphoreSubmitInfo],
signals: &'a [SemaphoreSubmitInfo],
) -> Self
pub fn queue_submit( waits: &'a [SemaphoreSubmitInfo], signals: &'a [SemaphoreSubmitInfo], ) -> Self
Creates a vkQueueSubmit payload.
Sourcepub fn queue_submit2(
waits: &'a [SemaphoreSubmit2Info],
signals: &'a [SemaphoreSubmit2Info],
) -> Self
pub fn queue_submit2( waits: &'a [SemaphoreSubmit2Info], signals: &'a [SemaphoreSubmit2Info], ) -> Self
Creates a vkQueueSubmit2 payload.
Trait Implementations§
Source§impl<'a> Clone for QueueSubmitInfo<'a>
impl<'a> Clone for QueueSubmitInfo<'a>
Source§fn clone(&self) -> QueueSubmitInfo<'a>
fn clone(&self) -> QueueSubmitInfo<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for QueueSubmitInfo<'a>
Source§impl<'a> Debug for QueueSubmitInfo<'a>
impl<'a> Debug for QueueSubmitInfo<'a>
Source§impl<'a> From<(&'a [SemaphoreSubmit2Info], &'a [SemaphoreSubmit2Info])> for QueueSubmitInfo<'a>
impl<'a> From<(&'a [SemaphoreSubmit2Info], &'a [SemaphoreSubmit2Info])> for QueueSubmitInfo<'a>
Source§fn from(
(waits, signals): (&'a [SemaphoreSubmit2Info], &'a [SemaphoreSubmit2Info]),
) -> Self
fn from( (waits, signals): (&'a [SemaphoreSubmit2Info], &'a [SemaphoreSubmit2Info]), ) -> Self
Converts to this type from the input type.
Source§impl<'a> From<(&'a [SemaphoreSubmitInfo], &'a [SemaphoreSubmitInfo])> for QueueSubmitInfo<'a>
impl<'a> From<(&'a [SemaphoreSubmitInfo], &'a [SemaphoreSubmitInfo])> for QueueSubmitInfo<'a>
Source§fn from(
(waits, signals): (&'a [SemaphoreSubmitInfo], &'a [SemaphoreSubmitInfo]),
) -> Self
fn from( (waits, signals): (&'a [SemaphoreSubmitInfo], &'a [SemaphoreSubmitInfo]), ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for QueueSubmitInfo<'a>
impl<'a> RefUnwindSafe for QueueSubmitInfo<'a>
impl<'a> Send for QueueSubmitInfo<'a>
impl<'a> Sync for QueueSubmitInfo<'a>
impl<'a> Unpin for QueueSubmitInfo<'a>
impl<'a> UnsafeUnpin for QueueSubmitInfo<'a>
impl<'a> UnwindSafe for QueueSubmitInfo<'a>
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