SF_EXPORT System(SysAllocBase* psysAlloc = SF_SYSALLOC_DEFAULT_CLASS::InitSystemSingleton()); SF_EXPORT System(const MemoryHeap::HeapDesc& rootHeapDesc, SysAllocBase* psysAlloc = SF_SYSALLOC_DEFAULT_CLASS::InitSystemSingleton());
System initializes System core and creates the global heap needed for GFx memory allocations. Two default argument constructors are given, to allow specifying SysAlloc with and without MemoryHeap::HeapDesc for the root heap.
Parameters |
Description |
SysAllocBase* psysAlloc = SF_SYSALLOC_DEFAULT_CLASS::InitSystemSingleton() |
System allocator, SysAllocBase interface for allocating the heap. |
const MemoryHeap::HeapDesc& rootHeapDesc |
Heap descriptor, MemoryHeap::HeapDesc for the global heap created for the GFx object allocations. |