From 6ba195efea2e67a87e9a38579280c058f9a1ad72 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 Oct 2002 13:06:24 +0000 Subject: [PATCH] Added a little more info into the State contextID docs. --- include/osg/State | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/osg/State b/include/osg/State index aa25100bc..a3b5ce51e 100644 --- a/include/osg/State +++ b/include/osg/State @@ -499,7 +499,11 @@ class SG_EXPORT State : public Referenced set up unique ID for each OpenGL context. This value is then used by osg::StateAttribure's and osg::Drawable's to help manage OpenGL display list and texture binds appropriate - for each context.*/ + for each context, the contextID simply acts as an index local + arrays that they maintain for the purpose. + Typical settings for contextID are 0,1,2,3... up to the maximum + number of graphics contexts you have setup. + By default contextID is 0.*/ inline void setContextID(unsigned int contextID) { _contextID=contextID; } /** Get the current OpenGL context unique ID.*/