Resource Generator: Generated Classes

PreviousNext

Resources Class

For every resource you specified in your resources.xml you will have an attribute with the corresponding name as well as an attribute with the path of the resource, which has the prefix "path_".
Further there are features to load and free resources (either all resources at once, section wise or one by one), access the number of resources in a section and get the current progress of loading.
See Example for more details.

Shared Resources Class

The shared resources class makes available a singleton object of the resource class. The singleton has the same name as the resource class.