Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
IWorkDispatcher.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph
6{
7
14{
15public:
16 virtual ~IWorkDispatcher() = default;
17
23 virtual bool dispatch(WorkUnit* out_workUnit) = 0;
24};
25
26}// end namespace ph
A manager that distributes work.
Definition IWorkDispatcher.h:14
virtual ~IWorkDispatcher()=default
virtual bool dispatch(WorkUnit *out_workUnit)=0
Get some amount of work.
Represents some amount of work.
Definition WorkUnit.h:17
The root for all renderer implementations.
Definition EEngineProject.h:6