#include <sglDataPtr.hpp>
Inheritance diagram for sglDataPtr::
Public Types | |
enum | DataTypeEnum { eBYTE, eUNSIGNED_BYTE, eSHORT, eUNSIGNED_SHORT, eINT, eUNSIGNED_INT, eFLOAT, eDOUBLE } |
Public Methods | |
sglDataPtr () | |
virtual | ~sglDataPtr () |
virtual void* | getData () const=0 |
Static Public Methods | |
int | getSizeOfType (DataTypeEnum type) |
GLenum | getGLType (DataTypeEnum type) |
Definition at line 33 of file sglDataPtr.hpp.
|
Enumeration of all data types supported by SGL. Definition at line 37 of file sglDataPtr.hpp. |
|
Constructor. Definition at line 51 of file sglDataPtr.hpp. |
|
Destructor. Definition at line 54 of file sglDataPtr.hpp. |
|
Get the data pointer.
Reimplemented in sglDeleteableDataPtr, sglFreeableDataPtr, and sglNoRefDataPtr. Referenced by sglTexCoords::getOffset(). |
|
Get the size of a data type.
Definition at line 65 of file sglDataPtr.hpp. |
|
Get the GLenum equivalent for the given data type.
Definition at line 72 of file sglDataPtr.hpp. |