[][src]Struct amethyst_rendy::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, Empty<(&'static <B as Backend>::Semaphore, PipelineStage)>, Empty<Submit<B, NoSimultaneousUse, PrimaryLevel, OutsideRenderPass>>, Empty<&'static <B as Backend>::Semaphore>> where
    B: Backend
[src]

pub fn new(
) -> Submission<B, Empty<(&'static <B as Backend>::Semaphore, PipelineStage)>, Empty<Submit<B, NoSimultaneousUse, PrimaryLevel, OutsideRenderPass>>, Empty<&'static <B as Backend>::Semaphore>>
[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 as IntoIterator>::Item: Submittable<B, PrimaryLevel, OutsideRenderPass>, 
[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
    E: Borrow<<B as Backend>::Semaphore> + 'a,
    W: IntoIterator<Item = (&'a E, PipelineStage)>, 
[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
    E: Borrow<<B as Backend>::Semaphore> + 'a,
    S: IntoIterator<Item = &'a E>, 
[src]

Add signals to the submission.

Trait Implementations

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

Auto Trait Implementations

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

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

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

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

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

impl<T> Erased for T[src]

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]