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:
@@ -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);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user