Show
Ignore:
Timestamp:
02/27/08 12:43:58 (6 years ago)
Author:
robert
Message:

From Paul Martz, fixed get/set methods API

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/OcclusionQueryNode

    r7790 r7889  
    6868 
    6969 
    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; 
    7484 
    7585    // For statistics gathering, e.g., by a NodeVisitor.