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

#include <RenderWorker.h>

Public Member Functions

 RenderWorker ()=default
 
 RenderWorker (const RendererProxy &renderer, uint32 id)
 
 RenderWorker (const RenderWorker &other)
 
void run ()
 
void setWork (RenderWork *work)
 
void setTotalWork (uint32 totalWork)
 
void setWorkDone (uint32 workDone)
 
void incrementWorkDone ()
 
uint32 getId () const
 
RenderWorkeroperator= (const RenderWorker &rhs)
 

Constructor & Destructor Documentation

◆ RenderWorker() [1/3]

ph::RenderWorker::RenderWorker ( )
inlinedefault

◆ RenderWorker() [2/3]

ph::RenderWorker::RenderWorker ( const RendererProxy & renderer,
uint32 id )

◆ RenderWorker() [3/3]

ph::RenderWorker::RenderWorker ( const RenderWorker & other)

Member Function Documentation

◆ getId()

uint32 ph::RenderWorker::getId ( ) const
inline

◆ incrementWorkDone()

void ph::RenderWorker::incrementWorkDone ( )
inline

◆ operator=()

RenderWorker & ph::RenderWorker::operator= ( const RenderWorker & rhs)

◆ run()

void ph::RenderWorker::run ( )

◆ setTotalWork()

void ph::RenderWorker::setTotalWork ( uint32 totalWork)
inline

◆ setWork()

void ph::RenderWorker::setWork ( RenderWork * work)

◆ setWorkDone()

void ph::RenderWorker::setWorkDone ( uint32 workDone)
inline

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