GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
gl3::IVertexBuffer Class Referenceabstract

#include <types.hpp>

Inheritance diagram for gl3::IVertexBuffer:
[legend]

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
 

Detailed Description

Definition at line 440 of file types.hpp.

Constructor & Destructor Documentation

gl3::IVertexBuffer::IVertexBuffer ( )
inline

Definition at line 445 of file types.hpp.

virtual gl3::IVertexBuffer::~IVertexBuffer ( )
inlinevirtual

Definition at line 446 of file types.hpp.

Member Function Documentation

virtual void gl3::IVertexBuffer::clear ( )
pure virtual

Clears the data stored in the vertex buffer.

Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.

virtual size_t gl3::IVertexBuffer::count ( ) const
pure virtual

Gets the number of vertices contained in the buffer.

Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.

virtual const void* gl3::IVertexBuffer::getData ( ) const
pure virtual
int gl3::IVertexBuffer::getHandle ( ) const
inline

Definition at line 448 of file types.hpp.

virtual GLenum gl3::IVertexBuffer::getShape ( ) const
pure virtual

Gets the primitive type contained by the vertex buffer.

Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.

virtual size_t gl3::IVertexBuffer::getStride ( ) const
pure virtual

Gets the stride between vertices.

Implemented in gl3::TextBuffer, gl3::IndexedVertexBuffer< T >, and gl3::VertexBuffer< T >.

void gl3::IVertexBuffer::setHandle ( int  dev_hnd)
inline

Definition at line 449 of file types.hpp.


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