OpenSceneGraph
|
Proxy helper class for applyig a model in a local scope, with the preivous value being resotred automatically on leaving the scope that proxy was created. More...
Public Member Functions | |
ApplyModeProxy (osg::State &state, GLenum mode, bool value) | |
~ApplyModeProxy () | |
Public Attributes | |
osg::State & | _state |
GLenum | _mode |
bool | _previous_value |
bool | _need_to_apply_value |
Proxy helper class for applyig a model in a local scope, with the preivous value being resotred automatically on leaving the scope that proxy was created.
|
inline |
|
inline |
GLenum osg::State::ApplyModeProxy::_mode |
bool osg::State::ApplyModeProxy::_need_to_apply_value |
bool osg::State::ApplyModeProxy::_previous_value |
osg::State& osg::State::ApplyModeProxy::_state |