LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
vcl::BufferObject< TYPE, BUFFER_TYPE > Class Template Reference

#include <BufferObject.hxx>

Inheritance diagram for vcl::BufferObject< TYPE, BUFFER_TYPE >:
[legend]

Public Member Functions

 BufferObject ()
 
virtual ~BufferObject ()
 
void bind ()
 
void unbind ()
 
void upload (const std::vector< TYPE > &rData)
 

Private Attributes

GLuint mId
 

Detailed Description

template<typename TYPE, GLenum BUFFER_TYPE>
class vcl::BufferObject< TYPE, BUFFER_TYPE >

Definition at line 18 of file BufferObject.hxx.

Constructor & Destructor Documentation

template<typename TYPE, GLenum BUFFER_TYPE>
vcl::BufferObject< TYPE, BUFFER_TYPE >::BufferObject ( )
inline

Definition at line 24 of file BufferObject.hxx.

template<typename TYPE, GLenum BUFFER_TYPE>
virtual vcl::BufferObject< TYPE, BUFFER_TYPE >::~BufferObject ( )
inlinevirtual

Definition at line 31 of file BufferObject.hxx.

Member Function Documentation

template<typename TYPE, GLenum BUFFER_TYPE>
void vcl::BufferObject< TYPE, BUFFER_TYPE >::bind ( )
inline
template<typename TYPE, GLenum BUFFER_TYPE>
void vcl::BufferObject< TYPE, BUFFER_TYPE >::unbind ( )
inline

Definition at line 50 of file BufferObject.hxx.

template<typename TYPE, GLenum BUFFER_TYPE>
void vcl::BufferObject< TYPE, BUFFER_TYPE >::upload ( const std::vector< TYPE > &  rData)
inline

Definition at line 59 of file BufferObject.hxx.

Member Data Documentation

template<typename TYPE, GLenum BUFFER_TYPE>
GLuint vcl::BufferObject< TYPE, BUFFER_TYPE >::mId
private

Definition at line 21 of file BufferObject.hxx.


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