Changeset 10674

Show
Ignore:
Timestamp:
10/22/09 14:04:26 (4 years ago)
Author:
robert
Message:

Removed, now inappropriate, references to glBegin/glEnd.

Files:
1 modified

Legend:

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

    r9886 r10674  
    328328 
    329329        /** Return true if OpenGL fast paths will be used with drawing this Geometry. 
    330           * Fast paths use vertex arrays, and glDrawArrays/glDrawElements.  Slow paths 
    331           * use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed 
    332           * arrays will drop the rendering path off the fast path. 
     330          * Fast paths directly use vertex arrays, and glDrawArrays/glDrawElements so have low CPU overhead. 
     331          * With Slow paths the osg::Geometry::drawImplementation has to dynamically assemble OpenGL 
     332          * compatible vertex arrays from the osg::Geometry arrays data and then dispatch these to OpenGL, 
     333          * so have higher CPU overhead than the Fast paths. 
     334          * Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path. 
    333335        */ 
    334336        inline bool areFastPathsUsed() const