From Mike Weiblen, addiding of Program::validateProgram and osg::isNotifyEnabled() method
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user