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
3
#include "
Core/Scheduler/WorkUnit.h
"
4
5
namespace
ph
6
{
7
13
class
IWorkDispatcher
14
{
15
public
:
16
virtual
~IWorkDispatcher
() =
default
;
17
23
virtual
bool
dispatch
(
WorkUnit
* out_workUnit) = 0;
24
};
25
26
}
// end namespace ph
WorkUnit.h
ph::IWorkDispatcher
A manager that distributes work.
Definition
IWorkDispatcher.h:14
ph::IWorkDispatcher::~IWorkDispatcher
virtual ~IWorkDispatcher()=default
ph::IWorkDispatcher::dispatch
virtual bool dispatch(WorkUnit *out_workUnit)=0
Get some amount of work.
ph::WorkUnit
Represents some amount of work.
Definition
WorkUnit.h:17
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
Source
Core
Scheduler
IWorkDispatcher.h
Generated by
1.11.0