pub struct Submission<B, W = Empty<(&'static <B as Backend>::Semaphore, PipelineStage)>, C = Empty<Submit<B, NoSimultaneousUse, PrimaryLevel, OutsideRenderPass>>, S = Empty<&'static <B as Backend>::Semaphore>> {
pub waits: W,
pub submits: C,
pub signals: S,
pub marker: PhantomData<fn() -> B>,
}
Expand description
Command queue submission.
Fields§
§waits: W
Iterator over semaphores with stage flag to wait on.
submits: C
Iterator over submittables.
signals: S
Iterator over semaphores to signal.
marker: PhantomData<fn() -> B>
Marker type for submission backend.
Implementations§
Source§impl<B, W, S> Submission<B, W, Empty<Submit<B, NoSimultaneousUse, PrimaryLevel, OutsideRenderPass>>, S>where
B: Backend,
impl<B, W, S> Submission<B, W, Empty<Submit<B, NoSimultaneousUse, PrimaryLevel, OutsideRenderPass>>, S>where
B: Backend,
Sourcepub fn submits<C>(self, submits: C) -> Submission<B, W, C, S>
pub fn submits<C>(self, submits: C) -> Submission<B, W, C, S>
Add submits to the submission.
Source§impl<B, C, S> Submission<B, Empty<(&'static <B as Backend>::Semaphore, PipelineStage)>, C, S>where
B: Backend,
impl<B, C, S> Submission<B, Empty<(&'static <B as Backend>::Semaphore, PipelineStage)>, C, S>where
B: Backend,
Sourcepub fn wait<'a, W, E>(self, waits: W) -> Submission<B, W, C, S>
pub fn wait<'a, W, E>(self, waits: W) -> Submission<B, W, C, S>
Add waits to the submission.
Source§impl<B, W, C> Submission<B, W, C, Empty<&'static <B as Backend>::Semaphore>>where
B: Backend,
impl<B, W, C> Submission<B, W, C, Empty<&'static <B as Backend>::Semaphore>>where
B: Backend,
Sourcepub fn signal<'a, S, E>(self, signals: S) -> Submission<B, W, C, S>
pub fn signal<'a, S, E>(self, signals: S) -> Submission<B, W, C, S>
Add signals to the submission.
Trait Implementations§
Auto Trait Implementations§
impl<B, W, C, S> Freeze for Submission<B, W, C, S>
impl<B, W, C, S> RefUnwindSafe for Submission<B, W, C, S>
impl<B, W, C, S> Send for Submission<B, W, C, S>
impl<B, W, C, S> Sync for Submission<B, W, C, S>
impl<B, W, C, S> Unpin for Submission<B, W, C, S>
impl<B, W, C, S> UnwindSafe for Submission<B, W, C, S>
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