[][src]Function web_glitz::task::join4

pub fn join4<A, B, C, D, Ec>(a: A, b: B, c: C, d: D) -> Join4<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 no particular order.

This returns a new "joined" task. This joined task may progress the its sub-tasks in any order. The joined 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 task's 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.