Photon Engine 2.0.0-beta
A physically based renderer.
|
A manager that distributes work. More...
#include <IWorkDispatcher.h>
Public Member Functions | |
virtual | ~IWorkDispatcher ()=default |
virtual bool | dispatch (WorkUnit *out_workUnit)=0 |
Get some amount of work. | |
A manager that distributes work.
The dispatcher will deliver some amount of work on demand. The sizes of each delivered work and the total amount of work is implementation defined.
|
virtualdefault |
|
pure virtual |
Get some amount of work.
The meaning of the work dimensions is depending on the use case.
Implemented in ph::DammertzDispatcher, and ph::WorkScheduler.