A vertex buffer object, encompassing many vertex buffer arrays and a rendering routine with pre- and post execution code.
More...
#include <ocean/GLvish/VBO.hpp>
List of all members.
Classes
Public Member Functions
- bool append (const RefPtr< BufferArray > &BA)
- Append a vertex array attribute.
- bool call () const
- Call the rendering routine of this vertex buffer object.
-
bool empty () const throw ()
- Check if a renderer is attached.
-
RefPtr< Renderer > getRenderer () throw ()
- Get the current Renderer object.
-
override memsize_t memsize () const
- Tell how much memory this VBO occupies.
-
void setRenderer (const RefPtr< Renderer > &) throw ()
- Set a renderer object.
-
VBO () throw ()
- Empty constructor, no exceptions here.
-
~VBO ()
- Destructor, might throw exceptions (lets hope it does not).
Detailed Description
A vertex buffer object, encompassing many vertex buffer arrays and a rendering routine with pre- and post execution code.
Member Function Documentation
| bool Wizt::VBO::append |
( |
const RefPtr< BufferArray > & |
BA |
) |
[inline] |
Append a vertex array attribute.
It will be included during rendering. See child classes of BufferArray for details.
| bool Wizt::VBO::call |
( |
|
) |
const |
Call the rendering routine of this vertex buffer object.
Activates all attribute arrays and calls the renderer's draw() routine.
The documentation for this class was generated from the following files:
- ocean/GLvish/VBO.hpp
- ocean/GLvish/VBO.cpp