![]() |
Inviwo 0.9.12-pre
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 Mesh &mesh) | |
| 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) |
| void | drawInstanced (size_t instances) |
| void | drawInstanced (DrawMode drawMode, size_t instances) |
| void | drawInstanced (std::size_t index, size_t instances) |
| void | drawInstanced (DrawMode drawMode, std::size_t index, size_t instances) |
| void | drawOnly (DrawMode drawMode) |
| void | drawOnlyInstanced (DrawMode drawMode, size_t instances) |
| void | drawOnly (std::function< bool(const Mesh::MeshInfo &)> filter) |
| void | drawOnlyInstanced (std::function< bool(const Mesh::MeshInfo &)> filter, size_t instances) |
| 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.