Equalizer
1.2.1
|
Holds a subpixel decomposition specification along with some methods for manipulation. More...
#include <subPixel.h>
Public Member Functions | |
void | apply (const SubPixel &rhs) |
Apply (accumulate) another subpixel specification. | |
bool | operator== (const SubPixel &rhs) const |
bool | operator!= (const SubPixel &rhs) const |
void | invalidate () |
Make the subpixel specification invalid. | |
void | validate () |
Make the subpixel specification valid. | |
bool | isValid () const |
Constructors | |
SubPixel () | |
Construct an empty subpixel specification. | |
SubPixel (const uint32_t index_, const uint32_t size_) | |
Construct a subpixel specification with default values. | |
Public Attributes | |
uint32_t | index |
The contributor id. | |
uint32_t | size |
Total number of contributors. | |
Static Public Attributes | |
static const SubPixel | ALL |
Holds a subpixel decomposition specification along with some methods for manipulation.
The index represents the contributor ID within the subpixel decomposition. The size determines how many contributors are performing anti-aliasing or any other subpixel decomposition.
Definition at line 41 of file subPixel.h.
eq::fabric::SubPixel::SubPixel | ( | ) | [inline] |
eq::fabric::SubPixel::SubPixel | ( | const uint32_t | index_, |
const uint32_t | size_ | ||
) | [inline] |
Construct a subpixel specification with default values.
Definition at line 53 of file subPixel.h.
bool eq::fabric::SubPixel::isValid | ( | ) | const [inline] |
Definition at line 99 of file subPixel.h.
Referenced by apply(), and validate().
bool eq::fabric::SubPixel::operator!= | ( | const SubPixel & | rhs | ) | const [inline] |
Definition at line 80 of file subPixel.h.
bool eq::fabric::SubPixel::operator== | ( | const SubPixel & | rhs | ) | const [inline] |
Definition at line 71 of file subPixel.h.