stores mask of viewport unique identifiers More...
#include <MRViewportId.h>
Public Member Functions | |
ViewportMask () noexcept=default | |
constexpr | ViewportMask (unsigned i) noexcept |
constexpr | ViewportMask (ViewportId i) noexcept |
constexpr unsigned | value () const |
constexpr bool | empty () const |
bool | contains (ViewportId id) const |
bool | operator== (ViewportMask b) const |
bool | operator!= (ViewportMask b) const |
bool | operator< (ViewportMask b) const |
ViewportMask | operator~ () const |
ViewportMask & | operator&= (ViewportMask b) |
ViewportMask & | operator|= (ViewportMask b) |
ViewportMask & | operator^= (ViewportMask b) |
void | set (ViewportId id, bool on=true) |
Static Public Member Functions | |
static ViewportMask | all () |
mask meaning all or any viewports | |
static ViewportMask | any () |
stores mask of viewport unique identifiers
|
defaultnoexcept |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestatic |
mask meaning all or any viewports
|
inlinestatic |
|
inline |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |