Inviwo  0.9.10.1
Inviwo documentation
inviwo::MeshDrawerGL::DrawObject Class Reference

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
 
DrawObjectoperator= (const DrawObject &)=delete
 
DrawObjectoperator= (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
 

Detailed Description

This class provides functionality for efficient, subsequent drawing of a mesh. The buffers of the mesh will be bound once this class is instantiated.


The documentation for this class was generated from the following files: