19#ifndef OSG_GL_FIXED_FUNCTION_AVAILABLE
20 #define GL_CLEAR 0x1500
22 #define GL_COPY 0x1503
23 #define GL_COPY_INVERTED 0x150C
24 #define GL_NOOP 0x1505
26 #define GL_NAND 0x150E
30 #define GL_EQUIV 0x1509
31 #define GL_AND_REVERSE 0x1502
32 #define GL_AND_INVERTED 0x1504
33 #define GL_OR_REVERSE 0x150B
34 #define GL_OR_INVERTED 0x150D
35 #define GL_COLOR_LOGIC_OP 0x0BF2
#define GL_SET
Definition LogicOp:21
#define GL_OR
Definition LogicOp:27
#define GL_COLOR_LOGIC_OP
Definition LogicOp:35
#define GL_EQUIV
Definition LogicOp:30
#define GL_AND_REVERSE
Definition LogicOp:31
#define GL_AND_INVERTED
Definition LogicOp:32
#define GL_CLEAR
Definition LogicOp:20
#define GL_NOOP
Definition LogicOp:24
#define GL_COPY_INVERTED
Definition LogicOp:23
#define GL_XOR
Definition LogicOp:29
#define GL_NOR
Definition LogicOp:28
#define GL_OR_REVERSE
Definition LogicOp:33
#define GL_AND
Definition LogicOp:25
#define GL_COPY
Definition LogicOp:22
#define GL_OR_INVERTED
Definition LogicOp:34
#define GL_NAND
Definition LogicOp:26
#define COMPARE_StateAttribute_Parameter(parameter)
COMPARE_StateAttribute_Parameter macro is a helper for implementing the StatateAtribute::compare(....
Definition StateAttribute:69
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
COMPARE_StateAttribute_Types macro is a helper for implementing the StateAtribute::compare(....
Definition StateAttribute:57
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Opcode _opcode
Definition LogicOp:108
META_StateAttribute(osg, LogicOp, LOGICOP)
virtual void apply(State &state) const
apply the OpenGL state attributes.
Opcode
Definition LogicOp:45
@ COPY_INVERTED
Definition LogicOp:49
@ AND_REVERSE
Definition LogicOp:58
@ INVERT
Definition LogicOp:51
@ AND_INVERTED
Definition LogicOp:59
@ EQUIV
Definition LogicOp:57
@ AND
Definition LogicOp:52
@ SET
Definition LogicOp:47
@ XOR
Definition LogicOp:56
@ COPY
Definition LogicOp:48
@ OR_INVERTED
Definition LogicOp:61
@ NOOP
Definition LogicOp:50
@ OR_REVERSE
Definition LogicOp:60
@ CLEAR
Definition LogicOp:46
@ NAND
Definition LogicOp:53
@ OR
Definition LogicOp:54
@ NOR
Definition LogicOp:55
LogicOp(const LogicOp &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
Definition LogicOp:69
virtual bool getModeUsage(StateAttribute::ModeUsage &usage) const
Return the modes associated with this StateAttribute.
Definition LogicOp:88
virtual int compare(const StateAttribute &sa) const
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Definition LogicOp:76
void setOpcode(Opcode opcode)
Definition LogicOp:95
Opcode getOpcode() const
Definition LogicOp:100
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
@ LOGICOP
Definition StateAttribute:151
Definition StateAttribute:308
virtual void usesMode(GLMode mode)=0
#define OSG_EXPORT
Definition Export:39