GL++  0.1
OpenGL API C++ Wrapper
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
glpp::logicop_unit Struct Reference

Unit that controls color logic operation. More...

#include <logicop_unit.hpp>

Inheritance diagram for glpp::logicop_unit:
glpp::noncopyable

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 &)
noncopyableoperator= (noncopyable &)

Friends

class context
 All units are friend of context.

Detailed Description

Unit that controls color logic operation.

Remarks
non-copyable, non-inheritable

Member Function Documentation

void glpp::logicop_unit::disable ( )
void glpp::logicop_unit::enable ( )
logic_op glpp::logicop_unit::get_operand ( )

Get the the operand for color logic operations.

http://www.opengl.org/sdk/docs/man4/xhtml/glLogicOp.xml

bool glpp::logicop_unit::is_enabled ( )

Check if color logic operations are enabled.

http://www.opengl.org/sdk/docs/man4/xhtml/glLogicOp.xml

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


The documentation for this struct was generated from the following files: