35 void resize(
unsigned int sizeBytes);
38 unsigned int size()
const;
41 inline unsigned int objectId()
const {
return myBufferObjectId; }
44 void setData(
const void* data,
unsigned int sizeBytes);
48 void uploadData(
unsigned int offsetBytes,
unsigned int sizeBytes,
const void* data);
A class the wraps a OpenGL Array Buffer object.
Definition: DtBufferObject.h:17
voidpf void uLong size
Definition: ioapi.h:39
unsigned int objectId() const
Get the object id.
Definition: DtBufferObject.h:41
unsigned int myBufferObjectId
Definition: DtBufferObject.h:51
unsigned int myGlUsage
Definition: DtBufferObject.h:52
Usage
Definition: DtBufferObject.h:21
Definition: DtBufferObject.h:24
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
Definition: DtBufferObject.h:23
unsigned int mySize
Definition: DtBufferObject.h:53
const int myType
Definition: DtBufferObject.h:54