Public Member Functions |
| | DtDebugDrawerGeometryMemory () |
| | Constructor.
|
| virtual | ~DtDebugDrawerGeometryMemory () |
| | Destructor.
|
| virtual char * | encode (char *buffer)=0 |
| | Encodes this shape geometry into a buffer.
|
| virtual const char * | decode (const char *buffer)=0 |
| | Decodes this shape geometry from a buffer into this object.
|
| virtual int | getSize ()=0 |
| | Gets the size this object would take in bytes were it encoded with encode().
|
| virtual int | type ()=0 |
| | Gets the type of this object.
|
Constructor & Destructor Documentation
| DtDebugDrawerGeometryMemory::DtDebugDrawerGeometryMemory |
( |
| ) |
|
|
inline |
| virtual DtDebugDrawerGeometryMemory::~DtDebugDrawerGeometryMemory |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual char* DtDebugDrawerGeometryMemory::encode |
( |
char * |
buffer | ) |
|
|
pure virtual |
| virtual const char* DtDebugDrawerGeometryMemory::decode |
( |
const char * |
buffer | ) |
|
|
pure virtual |
Decodes this shape geometry from a buffer into this object.
This should only be called when it is certain that the the first set of data in the buffer is of this particular shape.
- Parameters
-
| buffer | Pointer to a character buffer that previously had encode() called on it. |
- Returns
- Returns a pointer to the buffer after where this function read data from the buffer param. It is important to note that this reads the buffer like a queue rather than a stack.
Implemented in DtDebugDrawerTriangleMemory, DtDebugDrawerLineMemory, and DtDebugDrawerSphereMemory.
| virtual int DtDebugDrawerGeometryMemory::getSize |
( |
| ) |
|
|
pure virtual |
| virtual int DtDebugDrawerGeometryMemory::type |
( |
| ) |
|
|
pure virtual |
Member Data Documentation
The color of this geometry.
This member was intentionally left public for easier access to the values.
The documentation for this class was generated from the following file: