All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Eegeo::Text::GlBuffer< T > Class Template Reference
Inheritance diagram for Eegeo::Text::GlBuffer< T >:
Eegeo::Text::GlBufferBase Eegeo::NonCopyable

Public Types

typedef T ElementType
 
typedef GlBuffer< T > ThisType
 
typedef std::vector< ElementType > ElementVectorType
 

Public Member Functions

void Reset ()
 
void Upload (const ElementVectorType &elements)
 
int GetElementOffset () const
 
- Public Member Functions inherited from Eegeo::Text::GlBufferBase
 GlBufferBase (GLenum bufferType, GLenum hint, int strideSize, int bufferChainCount)
 
void Reserve (int elementCount)
 
void Shrink (int elementCount)
 
void Bind () const
 
void Unbind () const
 
void Swap ()
 

Static Public Member Functions

static GlBuffer< ElementType > * Create (GLenum bufferType, GLenum hint, int bufferChainCount=1)
 

Additional Inherited Members

- Protected Member Functions inherited from Eegeo::Text::GlBufferBase
void Upload (const void *pData, int elementOffset, int elementCount) const
 

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