frengels / matter

C++20 highly parallel ECS implementation
20 stars 0 forks source link

Introduce jobs as a way to apply a lambda to query results #110

Closed frengels closed 5 years ago

frengels commented 5 years ago

Jobs can be made using

make_job<queries...>(<lambda>);

These will later on be added to systems which will take care of invoking these. Currently they can be invoked using invoke_job(job, world). Where world can be the actual world object or a compiled world which contains this query as an optimization parameter.