System::System

System::System
System(SysAllocBase* psysAlloc = SF_SYSALLOC_DEFAULT_CLASS::InitSystemSingleton());
System(const MemoryHeap::HeapDesc& rootHeapDesc, SysAllocBase* psysAlloc = SF_SYSALLOC_DEFAULT_CLASS::InitSystemSingleton());
Description

System initializes global heap for GFx objects. This method is called before any GFx objects are loaded. System has two versions of constructors, so that you can specify: 

- No arguments; uses default system allocation and root heap. 

- Custom SysAllocBase implementation with default root heap settings. 

- Custom root heap settings with default SysAllocBase implementation. 

- Both custom root heap settings and custom SysAllocBase implementation.

Parameters
Parameters 
Description 
SysAllocBase* psysAlloc = SF_SYSALLOC_DEFAULT_CLASS::InitSystemSingleton() 
System allocator, SysAllocBase interface for allocating large block of memory. 
const MemoryHeap::HeapDesc& rootHeapDesc 
Heap descriptor MemoryHeap::HeapDesc for root heap created for all GFx object allocations.