
Public Member Functions | |
| Hint () | |
| Hint (GLenum target, GLenum mode) | |
| Hint (const Hint &hint, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_StateAttribute (osg, Hint, HINT) | |
| virtual int | compare (const StateAttribute &sa) const |
| virtual unsigned int | getMember () const |
| void | setTarget (GLenum target) |
| GLenum | getTarget () const |
| void | setMode (GLenum mode) |
| GLenum | getMode () const |
| virtual void | apply (State &state) const |
Protected Attributes | |
| GLenum | _target |
| GLenum | _mode |
| osg::Hint::Hint | ( | ) | [inline] |
| osg::Hint::Hint | ( | GLenum | target, | |
| GLenum | mode | |||
| ) | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
| osg::Hint::META_StateAttribute | ( | osg | , | |
| Hint | , | |||
| HINT | ||||
| ) |
| virtual int osg::Hint::compare | ( | const StateAttribute & | sa | ) | const [inline, virtual] |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute.
| virtual unsigned int osg::Hint::getMember | ( | ) | const [inline, virtual] |
Return the member identifier within the attribute's class type. Used for light number/clip plane number etc.
Reimplemented from osg::StateAttribute.
| void osg::Hint::setTarget | ( | GLenum | target | ) | [inline] |
| GLenum osg::Hint::getTarget | ( | ) | const [inline] |
| void osg::Hint::setMode | ( | GLenum | mode | ) | [inline] |
| GLenum osg::Hint::getMode | ( | ) | const [inline] |
| virtual void osg::Hint::apply | ( | State & | ) | const [virtual] |
apply the OpenGL state attributes. The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Reimplemented from osg::StateAttribute.
GLenum osg::Hint::_target [protected] |
GLenum osg::Hint::_mode [protected] |
1.5.4