Inviwo
0.9.10.1
Inviwo documentation
|
This class provides functionality for efficient, subsequent drawing of a mesh. The buffers of the mesh will be bound once this class is instantiated. More...
#include <meshdrawergl.h>
Public Member Functions | |
DrawObject (const MeshGL *mesh, Mesh::MeshInfo arrayMeshInfo) | |
DrawObject (const DrawObject &)=delete | |
DrawObject (DrawObject &&)=default | |
DrawObject & | operator= (const DrawObject &)=delete |
DrawObject & | operator= (DrawObject &&)=default |
void | draw () |
void | draw (DrawMode drawMode) |
void | draw (std::size_t index) |
void | draw (DrawMode drawMode, std::size_t index) |
std::size_t | size () const |
returns the number of index buffers associated with the mesh representation | |
This class provides functionality for efficient, subsequent drawing of a mesh. The buffers of the mesh will be bound once this class is instantiated.