Renamed osg::State::getCurrentMode/Attribute(..) to
getLastAppliedMode/Attribute() to make it more consistent with the internal workings of osg::State.
This commit is contained in:
@@ -145,10 +145,10 @@ class SG_EXPORT State : public Referenced
|
||||
void haveAppliedAttribute(const StateAttribute::Type type);
|
||||
|
||||
/** Get whether the current specified mode is enabled (true) or disabled (false).*/
|
||||
const bool getCurrentMode(const StateAttribute::GLMode mode) const;
|
||||
const bool getLastAppliedMode(const StateAttribute::GLMode mode) const;
|
||||
|
||||
/** Get the current specified attribute, return NULL is one has not yet been applied.*/
|
||||
const StateAttribute* getCurrentAttribute(const StateAttribute::Type type) const;
|
||||
const StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const;
|
||||
|
||||
|
||||
/** Set the current OpenGL context uniqueID.
|
||||
|
||||
Reference in New Issue
Block a user