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