From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method

This commit is contained in:
Robert Osfield
2005-07-14 10:27:00 +00:00
parent d4a8bc0f03
commit 53347812cb
4 changed files with 39 additions and 2 deletions

View File

@@ -44,6 +44,9 @@ extern OSG_EXPORT void setNotifyLevel(NotifySeverity severity);
/** get the notify level. */
extern OSG_EXPORT NotifySeverity getNotifyLevel();
/** is notification enabled, given the current setNotifyLevel() setting? */
extern OSG_EXPORT bool isNotifyEnabled(NotifySeverity severity);
/** initialize notify level. */
extern OSG_EXPORT bool initNotifyLevel();

View File

@@ -12,7 +12,7 @@
*/
/* file: include/osg/Program
* author: Mike Weiblen 2005-05-05
* author: Mike Weiblen 2005-07-01
*/
#ifndef OSG_PROGRAM
@@ -132,6 +132,7 @@ class OSG_EXPORT Program : public osg::StateAttribute
void requestLink();
void linkProgram();
void validateProgram();
bool needsLink() const {return _needsLink;}
bool isLinked() const {return _isLinked;}
bool getInfoLog( std::string& infoLog ) const;