![]() |
VR-Forces 4.3 Class Documentation
|
A text definition to be stored in shared memory. More...

Public Member Functions | |
| DtDebugDrawerTextMemory () | |
| Constructor. | |
| virtual char * | encode (char *buffer) |
| Encodes into a buffer. | |
| virtual const char * | decode (const char *buffer) |
| Decodes text from a buffer into this object. | |
| virtual int | getSize () |
| Gets the size this object would take in bytes were it encoded with encode(). | |
| virtual int | type () |
| Gets the type of this object. | |
Public Member Functions inherited from DtDebugDrawerGeometryMemory | |
| virtual | ~DtDebugDrawerGeometryMemory () |
| Destructor. | |
Public Attributes | |
| DtString | myText |
| Data. | |
| DtVector | myLocation |
| Location of text. | |
| unsigned char | mySize |
| Point size of text. | |
| bool | myAbsoluteFlag |
| Render is absolute coordinates (default: false) | |
Public Attributes inherited from DtDebugDrawerGeometryMemory | |
| DtDebugDrawerGeometryMemoryColor | myColor |
| The color of this geometry. | |
A text definition to be stored in shared memory.
| DtDebugDrawerTextMemory::DtDebugDrawerTextMemory | ( | ) |
Constructor.
Encodes into a buffer.
| buffer | pointer to a character buffer |
Implements DtDebugDrawerGeometryMemory.
Decodes text 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.
| buffer | Pointer to a character buffer that previously had encode() called on it. |
Implements DtDebugDrawerGeometryMemory.
|
virtual |
Gets the size this object would take in bytes were it encoded with encode().
Implements DtDebugDrawerGeometryMemory.
|
virtual |
Gets the type of this object.
Used to identify the object of this class.
Implements DtDebugDrawerGeometryMemory.
| DtString DtDebugDrawerTextMemory::myText |
Data.
| DtVector DtDebugDrawerTextMemory::myLocation |
Location of text.
| unsigned char DtDebugDrawerTextMemory::mySize |
Point size of text.
| bool DtDebugDrawerTextMemory::myAbsoluteFlag |
Render is absolute coordinates (default: false)