[][src]Function web_glitz::task::sequence4

pub fn sequence4<A, B, C, D, Ec>(
    a: A,
    b: B,
    c: C,
    d: D
) -> Sequence4<A, B, C, D, Ec> where
    A: GpuTask<Ec>,
    B: GpuTask<Ec>,
    C: GpuTask<Ec>,
    D: GpuTask<Ec>, 

Combines task a, b, c and d, waiting for all tasks to complete in order.

This returns a new "sequenced" task. This sequenced task must progress its sub-tasks in order. The sequenced task will finish when all sub-tasks have finished. When it finishes, it will output a tuple (A, B, C, D) where A is this tasks output, B is task b's output, C is task c's output and D is task d's output.

Panics

Panics if the ContextIds a, b, c and d are not compatible.