Added a Geometry::compileGLObjects() to handle compilation of VBO + EBO's.

This commit is contained in:
Robert Osfield
2009-12-09 13:51:02 +00:00
parent 268f11c522
commit 6e7c02b5d8
4 changed files with 79 additions and 16 deletions

View File

@@ -302,8 +302,8 @@ class OSG_EXPORT Drawable : public Object
*/
inline void draw(RenderInfo& renderInfo) const;
/** Immediately compile this \c Drawable into an OpenGL Display List.
* @note Operation is ignored if \c _useDisplayList is \c false.
/** Immediately compile this \c Drawable into an OpenGL Display List/VertexBufferObjects.
* @note Operation is ignored if \c _useDisplayList is \c false or VertexBufferObjects are not used.
*/
virtual void compileGLObjects(RenderInfo& renderInfo) const;