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

Thread safe statictics tracking utilities. More...

#include <PMAtomicStatistics.h>

Public Member Functions

 PMAtomicStatistics ()
 
void zero ()
 Resets all internal states.
 
void addNumTracedPhotons (std::size_t num)
 
void incrementNumProcessedSteps ()
 
std::size_t numTracedPhotons () const
 
std::size_t numProcessedSteps () const
 

Detailed Description

Thread safe statictics tracking utilities.

Constructor & Destructor Documentation

◆ PMAtomicStatistics()

ph::PMAtomicStatistics::PMAtomicStatistics ( )
inline

Member Function Documentation

◆ addNumTracedPhotons()

void ph::PMAtomicStatistics::addNumTracedPhotons ( std::size_t num)
inline

◆ incrementNumProcessedSteps()

void ph::PMAtomicStatistics::incrementNumProcessedSteps ( )
inline

◆ numProcessedSteps()

std::size_t ph::PMAtomicStatistics::numProcessedSteps ( ) const
inline

◆ numTracedPhotons()

std::size_t ph::PMAtomicStatistics::numTracedPhotons ( ) const
inline

◆ zero()

void ph::PMAtomicStatistics::zero ( )
inline

Resets all internal states.


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