GLVis
v4.2
Accurate and flexible finite element visualization
|
#include <types.hpp>
Public Member Functions | |
IVertexBuffer () | |
virtual | ~IVertexBuffer () |
int | getHandle () const |
void | setHandle (int dev_hnd) |
virtual void | clear ()=0 |
Clears the data stored in the vertex buffer. More... | |
virtual size_t | count () const =0 |
Gets the number of vertices contained in the buffer. More... | |
virtual GLenum | getShape () const =0 |
Gets the primitive type contained by the vertex buffer. More... | |
virtual size_t | getStride () const =0 |
Gets the stride between vertices. More... | |
virtual const void * | getData () const =0 |
|
inlinevirtual |
|
pure virtual |
Clears the data stored in the vertex buffer.
Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.
|
pure virtual |
Gets the number of vertices contained in the buffer.
Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.
|
pure virtual |
Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.
|
pure virtual |
Gets the primitive type contained by the vertex buffer.
Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.
|
pure virtual |
Gets the stride between vertices.
Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.