|
Public Types |
| enum | Equation {
RGBA_MIN = GL_MIN,
RGBA_MAX = GL_MAX,
ALPHA_MIN = GL_ALPHA_MIN_SGIX,
ALPHA_MAX = GL_ALPHA_MAX_SGIX,
LOGIC_OP = GL_LOGIC_OP,
FUNC_ADD = GL_FUNC_ADD,
FUNC_SUBTRACT = GL_FUNC_SUBTRACT,
FUNC_REVERSE_SUBTRACT = GL_FUNC_REVERSE_SUBTRACT
} |
Public Member Functions |
| | BlendEquation () |
| | BlendEquation (Equation equation) |
| | BlendEquation (const BlendEquation &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| | Copy constructor using CopyOp to manage deep vs shallow copy.
|
| | META_StateAttribute (osg, BlendEquation, BLENDEQUATION) |
| virtual int | compare (const StateAttribute &sa) const |
| | Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
|
| virtual bool | getModeUsage (ModeUsage &usage) const |
| | Return the modes associated with this StateAttribute.
|
| void | setEquation (Equation equation) |
| Equation | getEquation () const |
| virtual void | apply (State &state) const |
| | apply the OpenGL state attributes.
|
Static Public Member Functions |
| Extensions * | getExtensions (unsigned int contextID, bool createIfNotInitalized) |
| | Returns the Extensions object for the given context.
|
| void | setExtensions (unsigned int contextID, Extensions *extensions) |
| | setExtensions() allows users to override the extensions across graphics contexts.
|
Protected Member Functions |
| virtual | ~BlendEquation () |
Protected Attributes |
| Equation | _equation |