OpenSceneGraph
Public Member Functions | Public Attributes | List of all members
osg::State::SetCurrentVertexArrayStateProxy Struct Reference

Proxy helper class for applyig a VertexArrayState in a local scope, with the preivous value being resotred automatically on leaving the scope that proxy was created. More...

Public Member Functions

 SetCurrentVertexArrayStateProxy (osg::State &state, VertexArrayState *vas)
 
 ~SetCurrentVertexArrayStateProxy ()
 

Public Attributes

osg::State_state
 

Detailed Description

Proxy helper class for applyig a VertexArrayState in a local scope, with the preivous value being resotred automatically on leaving the scope that proxy was created.

Constructor & Destructor Documentation

◆ SetCurrentVertexArrayStateProxy()

osg::State::SetCurrentVertexArrayStateProxy::SetCurrentVertexArrayStateProxy ( osg::State state,
VertexArrayState vas 
)
inline

◆ ~SetCurrentVertexArrayStateProxy()

osg::State::SetCurrentVertexArrayStateProxy::~SetCurrentVertexArrayStateProxy ( )
inline

Member Data Documentation

◆ _state

osg::State& osg::State::SetCurrentVertexArrayStateProxy::_state

The documentation for this struct was generated from the following file: