Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::mt::JobParallelRef Struct Reference

Non-owning callback descriptor for parallel jobs. More...

#include <jobcommon.h>

Public Attributes

void * pCtx = nullptr
 Non-owning callback context.
 
void(* invoke )(void *, const JobArgs &) = nullptr
 Function that invokes the callback stored in the context.
 
JobPriority priority = JobPriority::High
 Queue priority used for each range job.
 

Detailed Description

Non-owning callback descriptor for parallel jobs.

Warning
The pointed-to context must stay alive until the scheduled job completes.

The documentation for this struct was generated from the following file: