Preloaders

Preloaders are just that - objects that preload (or " ") different resources to be used at a later time.

Preloaders take away the need to re-load images from the disc every time they are drawn. Currently, there is only the image preloader; however, in the future, there might be other resources that can be precached.

= Image Preloader = The image preloader loads an image from a file and stores it in video memory. While the image only resides in process memory for a short time (and therefore does not register in diagnostic tools such as the task manager), video memory can and will fill up if using too large of images. Although the likelihood of this is slim, it is still something to consider when loading large themes. Most mid-upper end computers will never face this issue.

API
Methods: 
 * FromYAML

= Font Preloader = The Font preloader loads a font from the disc into memory. At this time, default system fonts cannot be used. This will probably remain as such.

ALL FONTS SHOULD BE PRE-CACHED instead of loaded each frame! It WILL cause slowdowns if you load each frame, and will most likely crash the program.

Fonts are used to draw text to a target.

API
Methods: 
 * FromYAML