Scaleform::SysAllocBase Scaleform::SysAllocPaged Scaleform::SysAllocStatic
class SysAllocStatic : public SysAllocPaged;
SysAllocStatic system allocator is a default implementation of SysAllocPaged interface that works entirely in a single large block of memory. Developers can simply reserve a big block of memory and pass it to GFx using this static allocator. However, it should be made sure that files loaded and movie instances created do not exceed the specified memory amount as this would cause the allocator to fail.
Method |
Description |
Allocates a large block of memory of specified size to the heap. | |
Adds a memory segment to the single memory block used by the heap. | |
Returns the allocator alignment support and granularity capabilities of the system allocator implementation by filling in the SysAllocPaged::Info structure members. | |
Returns the number of bytes allocated from the system for the fixed/single block of memory. | |
Frees the block of memory allocated by Alloc. | |
Attempts to reallocate memory to a new size without moving it. | |
Initializes SysAllocStatic object. | |
Returns the actual amount of allocated bytes/used bytes in the heap. |
SF_SysAlloc.h