OpenSceneGraph 3.6.5
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...

#include <State>

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

References _state.

◆ ~SetCurrentVertexArrayStateProxy()

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

References _state.

Member Data Documentation

◆ _state

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

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

osg logo
Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.