Equalizer
2.1.0
Parallel Rendering Framework
|
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. More... | |
Pixel (const uint32_t x_, const uint32_t y_, const uint32_t w_, const uint32_t h_) | |
Construct a pixel specification with default values. More... | |
Public Attributes | |
uint32_t | x |
uint32_t | y |
uint32_t | w |
uint32_t | h |
Static Public Attributes | |
static EQFABRIC_API 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.
|
inline |
|
inline |
|
inline |
Definition at line 118 of file pixel.h.
Referenced by apply(), and validate().
|
inline |
|
inline |