From John Grant, added getDrawableList() const.

This commit is contained in:
Robert Osfield
2005-05-15 05:47:14 +00:00
parent ad5e2d45f1
commit 95a9a4362f

View File

@@ -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);