Added osg::State::dirtyAllModes() and dirtyAllAttributes() methods.

This commit is contained in:
Robert Osfield
2003-01-19 15:28:08 +00:00
parent 762db56a40
commit 08456ecf70
2 changed files with 66 additions and 0 deletions

View File

@@ -223,6 +223,12 @@ class SG_EXPORT State : public Referenced
const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const;
/** Dirty the modes previously applied in osg::State.*/
void dirtyAllModes();
/** Dirty the modes attributes previously applied in osg::State.*/
void dirtyAllAttributes();
/** disable the vertex, normal, color, tex coords, secenday color, fog coord and index arrays.*/
void disableAllVertexArrays();