[][src]Struct rendy_command::Submission

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>,
}

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.

Methods

impl<B> Submission<B> where
    B: Backend
[src]

pub fn new() -> Self[src]

Create new empty submission.

impl<B, W, S> Submission<B, W, Empty<Submit<B, NoSimultaneousUse, PrimaryLevel, OutsideRenderPass>>, S> where
    B: Backend
[src]

pub fn submits<C>(self, submits: C) -> Submission<B, W, C, S> where
    C: IntoIterator,
    C::Item: Submittable<B>, 
[src]

Add submits to the submission.

impl<B, C, S> Submission<B, Empty<(&'static <B as Backend>::Semaphore, PipelineStage)>, C, S> where
    B: Backend
[src]

pub fn wait<'a, W, E>(self, waits: W) -> Submission<B, W, C, S> where
    W: IntoIterator<Item = (&'a E, PipelineStage)>,
    E: Borrow<B::Semaphore> + 'a, 
[src]

Add waits to the submission.

impl<B, W, C> Submission<B, W, C, Empty<&'static <B as Backend>::Semaphore>> where
    B: Backend
[src]

pub fn signal<'a, S, E>(self, signals: S) -> Submission<B, W, C, S> where
    S: IntoIterator<Item = &'a E>,
    E: Borrow<B::Semaphore> + 'a, 
[src]

Add signals to the submission.

Trait Implementations

impl<B: Debug, W: Debug, C: Debug, S: Debug> Debug for Submission<B, W, C, S>[src]

Auto Trait Implementations

impl<B, W, C, S> Send for Submission<B, W, C, S> where
    C: Send,
    S: Send,
    W: Send

impl<B, W, C, S> Sync for Submission<B, W, C, S> where
    C: Sync,
    S: Sync,
    W: Sync

impl<B, W, C, S> Unpin for Submission<B, W, C, S> where
    C: Unpin,
    S: Unpin,
    W: Unpin

impl<B, W, C, S> UnwindSafe for Submission<B, W, C, S> where
    C: UnwindSafe,
    S: UnwindSafe,
    W: UnwindSafe

impl<B, W, C, S> RefUnwindSafe for Submission<B, W, C, S> where
    C: RefUnwindSafe,
    S: RefUnwindSafe,
    W: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Supports<T> for T[src]