[][src]Trait legion_task::TaskFactory

pub trait TaskFactory {
    fn create_task(&self, cmd: &mut CommandBuffer) -> Entity;
}

Implemented by all nodes of a TaskGraph. Has a blanket impl that should work for most TaskComponents.

Required methods

fn create_task(&self, cmd: &mut CommandBuffer) -> Entity

Loading content...

Implementors

impl<'a, T: 'static + Clone + TaskComponent<'a>> TaskFactory for T[src]

Loading content...