Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::DammertzDispatcher Class Reference

#include <DammertzDispatcher.h>

Inheritance diagram for ph::DammertzDispatcher:
ph::IWorkDispatcher

Classes

class  TAnalyzer
 

Public Types

enum class  ERefineMode { MIDPOINT , MIN_ERROR_DIFFERENCE }
 

Public Member Functions

 DammertzDispatcher ()=default
 
 DammertzDispatcher (uint32 numWorkers, const Region &fullRegion)
 
 DammertzDispatcher (uint32 numWorkers, const Region &fullRegion, real precisionStandard, std::size_t initialDepthPerRegion)
 
 DammertzDispatcher (uint32 numWorkers, const Region &fullRegion, real precisionStandard, std::size_t initialDepthPerRegion, std::size_t standardDepthPerRegion, std::size_t terminusDepthPerRegion)
 
bool dispatch (WorkUnit *out_workUnit) override
 Get some amount of work.
 
template<ERefineMode MODE>
TAnalyzer< MODE > createAnalyzer () const
 
template<ERefineMode MODE>
void addAnalyzedData (const TAnalyzer< MODE > &analyzer)
 
std::size_t numPendingRegions () const
 
- Public Member Functions inherited from ph::IWorkDispatcher
virtual ~IWorkDispatcher ()=default
 

Member Enumeration Documentation

◆ ERefineMode

Enumerator
MIDPOINT 
MIN_ERROR_DIFFERENCE 

Constructor & Destructor Documentation

◆ DammertzDispatcher() [1/4]

ph::DammertzDispatcher::DammertzDispatcher ( )
default

◆ DammertzDispatcher() [2/4]

ph::DammertzDispatcher::DammertzDispatcher ( uint32 numWorkers,
const Region & fullRegion )
explicit

◆ DammertzDispatcher() [3/4]

ph::DammertzDispatcher::DammertzDispatcher ( uint32 numWorkers,
const Region & fullRegion,
real precisionStandard,
std::size_t initialDepthPerRegion )

◆ DammertzDispatcher() [4/4]

ph::DammertzDispatcher::DammertzDispatcher ( uint32 numWorkers,
const Region & fullRegion,
real precisionStandard,
std::size_t initialDepthPerRegion,
std::size_t standardDepthPerRegion,
std::size_t terminusDepthPerRegion )

Member Function Documentation

◆ addAnalyzedData()

void ph::DammertzDispatcher::addAnalyzedData ( const TAnalyzer< MODE > & analyzer)
inline

◆ createAnalyzer()

DammertzDispatcher::TAnalyzer< MODE > ph::DammertzDispatcher::createAnalyzer ( ) const
inline

◆ dispatch()

bool ph::DammertzDispatcher::dispatch ( WorkUnit * out_workUnit)
overridevirtual

Get some amount of work.

The meaning of the work dimensions is depending on the use case.

Returns
True if work has been dispatched.

Implements ph::IWorkDispatcher.

◆ numPendingRegions()

std::size_t ph::DammertzDispatcher::numPendingRegions ( ) const
inline

The documentation for this class was generated from the following files: