| 70 | | // Set the StateSets used by the OQN when rendering OQ geometry |
| 71 | | // or debug bounding geometry. |
| 72 | | void setQueryStateSets( osg::StateSet* ss, osg::StateSet* ssDebug ); |
| 73 | | void getQueryStateSets( osg::StateSet* ss, osg::StateSet* ssDebug ); |
| | 70 | // Set and get the StateSet used by the OcclusionQueryNode |
| | 71 | // when rendering the query geometry. OQN creates its own by |
| | 72 | // default, but if you use many OQNs you might want to use |
| | 73 | // this method to set all OQNs to use the same StateSet |
| | 74 | // for more efficient processing. |
| | 75 | void setQueryStateSet( osg::StateSet* ss ); |
| | 76 | osg::StateSet* getQueryStateSet(); |
| | 77 | const osg::StateSet* getQueryStateSet() const; |
| | 78 | |
| | 79 | // Set and get the StateSet used by the OcclusionQueryNode |
| | 80 | // when rendering the debug query geometry (see setDebugDisplay). |
| | 81 | void setDebugStateSet( osg::StateSet* ss ); |
| | 82 | osg::StateSet* getDebugStateSet(); |
| | 83 | const osg::StateSet* getDebugStateSet() const; |