GL++
0.1
OpenGL API C++ Wrapper
|
Unit that controls color logic operation. More...
#include <logicop_unit.hpp>
Public Member Functions | |
void | enable () |
Enable color logic operations. | |
void | disable () |
Disable color logic operations. | |
bool | is_enabled () |
Check if color logic operations are enabled. | |
void | set_operand (logic_op op) |
Set the operand for color logic operations. | |
logic_op | get_operand () |
Get the the operand for color logic operations. | |
Public Member Functions inherited from glpp::noncopyable | |
noncopyable (noncopyable &) | |
noncopyable & | operator= (noncopyable &) |
Friends | |
class | context |
All units are friend of context. |
Unit that controls color logic operation.
void glpp::logicop_unit::disable | ( | ) |
Disable color logic operations.
void glpp::logicop_unit::enable | ( | ) |
Enable color logic operations.
logic_op glpp::logicop_unit::get_operand | ( | ) |
Get the the operand for color logic operations.
bool glpp::logicop_unit::is_enabled | ( | ) |
Check if color logic operations are enabled.
void glpp::logicop_unit::set_operand | ( | logic_op | op | ) |
Set the operand for color logic operations.
This functions does NOT implicitly enable color logic operations. http://www.opengl.org/sdk/docs/man4/xhtml/glLogicOp.xml