Photon Engine 2.0.0-beta
A physically based renderer.
|
Represents some amount of work. More...
#include <WorkUnit.h>
Public Member Functions | |
WorkUnit () | |
Represents zero amount of work. | |
WorkUnit (const Region ®ion) | |
Represents a rectangular region of work with unit depth. | |
WorkUnit (const Region ®ion, std::size_t depth) | |
Represents a volume of work with specified dimensions. | |
Region | getRegion () const |
int64 | getWidth () const |
int64 | getHeight () const |
std::size_t | getDepth () const |
std::size_t | getVolume () const |
float64 | getAspectRatio () const |
std::string | toString () const |
Represents some amount of work.
Represents some amount of work as a volume with specific dimensions. The actual units of the dimensions are depend on the use case.
|
inline |
Represents zero amount of work.
|
inlineexplicit |
Represents a rectangular region of work with unit depth.
|
inline |
Represents a volume of work with specified dimensions.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |