45 void resize(
unsigned int sizeBytes);
48 unsigned int size()
const;
51 inline unsigned int objectId()
const {
return myVertexBufferObjectId; }
54 void setData(
const void* data,
unsigned int sizeBytes);
58 void uploadData(
unsigned int offsetBytes,
unsigned int sizeBytes,
const void* data);
Definition: DtBufferObject.h:27
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:51
Usage
Definition: DtBufferObject.h:31
unsigned int myVertexBufferObjectId
Definition: DtBufferObject.h:61
Definition: DtBufferObject.h:34
Definition: DtBufferObject.h:26
Definition: DtBufferObject.h:25
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
Definition: DtBufferObject.h:24
Definition: DtBufferObject.h:33
unsigned int mySize
Definition: DtBufferObject.h:63
ArrayType
Definition: DtBufferObject.h:21
Definition: DtBufferObject.h:23
unsigned int myUsage
Definition: DtBufferObject.h:62