17 #include <osg/StateAttribute>
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
71 _opcode(trans._opcode){}
102 virtual void apply(
State& state)
const;
#define GL_COLOR_LOGIC_OP
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
void setOpcode(Opcode opcode)
virtual void usesMode(GLMode mode)=0
LogicOp(const LogicOp &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY)
virtual int compare(const StateAttribute &sa) const
#define META_StateAttribute(library, name, type)
virtual bool getModeUsage(StateAttribute::ModeUsage &usage) const
#define COMPARE_StateAttribute_Parameter(parameter)