Scaleform::System Scaleform::GFx::System
class System : public Scaleform::System;
System is a general initialization class which must take place before any other GFx objects, such as the loader are created; this is done by calling Init. Similarly, Destroy must be called before program exits for proper cleanup. Both of these tasks can be achieved by simply creating System object first, allowing its constructor/destructor do the work. System should NOT be globally declared.
Note that if an instance of System is created, Init/Destroy calls should not be made explicitly.
One of the main things System initialization does is establish the GFx memory heap to use for allocations. Before the initialization is done, allocations will fail and/or generate errors. And System should be destroyed after all GFx objects are released.
Method |
Description |
Initializes global heap for GFx objects. | |
Destructor for destroying the global memory allocator. | |
Initializes System core, setting the global heap required for GFx memory allocations. | |
De-initializes the GFx core, finalizing the threading system and destroying the global memory allocator. |
GFx_Loader.h