From 215e65a42dfa1da2b3560e60bd88a39f47a346b8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 23 Jul 2004 04:03:57 +0000 Subject: [PATCH] Made doc comments more relevant. --- include/osgUtil/GLObjectsVisitor | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/osgUtil/GLObjectsVisitor b/include/osgUtil/GLObjectsVisitor index 2539b7ddb..827690033 100644 --- a/include/osgUtil/GLObjectsVisitor +++ b/include/osgUtil/GLObjectsVisitor @@ -43,13 +43,14 @@ class OSGUTIL_EXPORT GLObjectsVisitor : public osg::NodeVisitor typedef unsigned int Mode; - /** Construct a DisplayListVisior to traverse all child, - * with set specified display list mode. Default mode is to - * gset->setUseDisplayList(true). + /** Construct a GLObjectsVisior to traverse all child, operating on + * node according to specified mode, such as to compile or release + * display list/texture objects etc. Default mode is to compile + * GL objects. */ GLObjectsVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES); - /** Set the operational mode of how the visitor should set up osg::Drawable's.*/ + /** Set the operational mode of what operations to do on the scene graph.*/ void setMode(Mode mode) { _mode = mode; } /** Get the operational mode.*/