Equalizer
1.4.1
|
Holds a pixel decomposition specification with methods for manipulation. More...
#include <pixel.h>
Public Member Functions | |
void | apply (const Pixel &rhs) |
Apply (accumulate) another pixel specification. | |
bool | operator== (const Pixel &rhs) const |
bool | operator!= (const Pixel &rhs) const |
void | invalidate () |
Make the pixel specification invalid. | |
void | validate () |
Make the pixel specification valid. | |
bool | isValid () const |
Constructors | |
Pixel () | |
Construct a pixel specification covering all pixels of a frustum. | |
Pixel (const uint32_t x_, const uint32_t y_, const uint32_t w_, const uint32_t h_) | |
Construct a pixel specification with default values. | |
Public Attributes | |
uint32_t | x |
uint32_t | y |
uint32_t | w |
uint32_t | h |
Static Public Attributes | |
static const Pixel | ALL |
A pixel specification covering all pixels. |
Holds a pixel decomposition specification with methods for manipulation.
The w, h size determines how many contributors are sending pixels to the destination. The x, y index determines the position of the contributor within the decomposition pixel grid.
eq::fabric::Pixel::Pixel | ( | ) | [inline] |
eq::fabric::Pixel::Pixel | ( | const uint32_t | x_, |
const uint32_t | y_, | ||
const uint32_t | w_, | ||
const uint32_t | h_ | ||
) | [inline] |
bool eq::fabric::Pixel::isValid | ( | ) | const [inline] |
Definition at line 102 of file pixel.h.
Referenced by apply(), and validate().
bool eq::fabric::Pixel::operator!= | ( | const Pixel & | rhs | ) | const [inline] |
bool eq::fabric::Pixel::operator== | ( | const Pixel & | rhs | ) | const [inline] |