Added setThreadSafeRefUnref to LightSource

This commit is contained in:
Robert Osfield
2007-01-07 10:00:50 +00:00
parent 19a7ec0f6b
commit 773fbd1b16
2 changed files with 10 additions and 0 deletions

View File

@@ -73,6 +73,9 @@ class OSG_EXPORT LightSource : public Group
/** Set up the local StateSet. */
void setLocalStateSetModes(StateAttribute::GLModeValue value = StateAttribute::ON);
/** Set whether to use a mutex to ensure ref() and unref() are thread safe.*/
virtual void setThreadSafeRefUnref(bool threadSafe);
virtual BoundingSphere computeBound() const;
protected: