49 void *
operator new(
size_t nSize) {
50 return PoolMemAlloc(
static_cast<int>(nSize),
"Button", 0);
58 void operator delete(
void *pBlock) {
186 std::vector<RndMat *> mMats;
187 std::vector<RndFont *> mFonts;
Stream of raw bytes, the base of the memory, file, and network streams.
Definition binstream.h:22
Text output stream.
Definition prnstream.h:16
Triangle mesh with a material.
Definition rndmesh.h:31
RndObject(const char *pszName)
Construct an object and register it under a name.
Text drawn with a bitmap font as a mesh of one quad per character.
Definition rndtext.h:27
void * PoolMemAlloc(int nSize, const char *pszTag, int nAlign)
Allocate a block from the pool heaps and bill it to a tag.
void PoolMemFree(void *pBlock)
Return a block PoolMemAlloc() handed out to the pool heap that owns it.