allocBuffer allocates a number of bytes in the specified buffer, while evicting the least recently used data. The buffer can contain either vertex and/or index data.
Parameters |
Description |
UPInt* poffset |
Pointer to the beginning of the buffer. |
UPInt size |
The size of the buffer. |
bool waitForCache |
_nt_ |
A Boolean value of true if mesh data is allocated and false otherwise.