From John Grant, added getDrawableList() const.
This commit is contained in:
@@ -38,6 +38,7 @@ class OSG_EXPORT Geode : public Node
|
||||
|
||||
META_Node(osg, Geode);
|
||||
|
||||
|
||||
/** Add a \c Drawable to the \c Geode.
|
||||
* If \c drawable is not \c NULL and is not contained in the \c Geode
|
||||
* then increment its reference count, add it to the drawables list and
|
||||
@@ -121,6 +122,9 @@ class OSG_EXPORT Geode : public Node
|
||||
return _drawables.size(); // drawable not found.
|
||||
}
|
||||
|
||||
/** Get the list of drawables.*/
|
||||
const DrawableList& getDrawableList() const { return _drawables; }
|
||||
|
||||
/** Compile OpenGL Display List for each drawable.*/
|
||||
void compileDrawables(State& state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user