total_unused = global_ptr->_total_alloc - global_ptr->_total_used;
_next((unsigned char *)start),
operator < (const
NeverFreeMemory::Page &other) const
_remaining < other._remaining;
(size <= _remaining);
This class is used to allocate bytes of memory from a pool that is never intended to be freed...
Returns a new RenderEffects object that represents the same as the source state, with the new RenderE...
static size_t get_total_used()
Returns the total number of bytes requested by the application in calls to NeverFreeMemory::alloc().
CPT(RenderAttrib) AudioVolumeAttrib assert(volume >=0.f)
Returns a new AudioVolumeAttrib, just like this one, but with the volume changed to the indicated val...
static void * alloc(size_t size)
Returns a pointer to a newly-allocated block of memory of the indicated size.
static size_t get_total_alloc()
Returns the total number of bytes consumed by all the pages allocated internally by this object...
static size_t get_total_unused()
Returns the difference between get_total_alloc() and get_total_used().