From Mathias Froechlich, "I have extended the StateSet api with a

StateSet::removeAssociatedModes(const StateAttribute*)

and a

StateSet::removeAssociatedTextureModes(unsigned, const StateAttribute*)

call. These funktions are just missing for a complete api IMO."
This commit is contained in:
Robert Osfield
2007-12-11 11:42:02 +00:00
parent b467fdeb6c
commit 298e07fc72
2 changed files with 39 additions and 0 deletions

View File

@@ -259,8 +259,10 @@ class OSG_EXPORT StateSet : public Object
void setAssociatedModes(const StateAttribute* attribute, StateAttribute::GLModeValue value);
void removeAssociatedModes(const StateAttribute* attribute);
void setAssociatedTextureModes(unsigned int unit,const StateAttribute* attribute, StateAttribute::GLModeValue value);
void removeAssociatedTextureModes(unsigned int unit,const StateAttribute* attribute);