18 #ifndef EQFABRIC_COLORMASK_H
19 #define EQFABRIC_COLORMASK_H
21 #include <eq/fabric/api.h>
22 #include <lunchbox/bitOperation.h>
38 ColorMask() : red( true ), green( true ), blue( true ), alpha( true ) {}
41 ColorMask(
const bool r,
const bool g,
const bool b,
43 : red( r ), green( g ), blue( b ), alpha( a ) {}
53 inline std::ostream& operator << ( std::ostream& os,
const ColorMask& mask )
74 #endif // EQFABRIC_COLORMASK_H
Defines which parts of the color buffer are to be written.
ColorMask()
Construct a color mask with all components enabled.
ColorMask(const bool r, const bool g, const bool b, const bool a=true)
Construct a color mask with given default values.