Work scheduler structure that can run jobs in parallel. More...
#include <ai_threads.h>
Public Member Functions | |
| void | add (void *payload, AtParallelJobsFunc job) |
| void | wait () |
Data Fields | |
| AtParallelJobsID | m_jobs |
Work scheduler structure that can run jobs in parallel.
This has more overhead than AiParallelFor(), but is more flexible as it allows for dispatching jobs without needing to place all the jobs in an array. For example: