-
Notifications
You must be signed in to change notification settings - Fork 0
Resources
davido262 edited this page Nov 11, 2012
·
4 revisions
Description of the Resources
manager.
The Resources
manager acts like a pool of resources. There should only be one instance of any given resource in memory at a given time. Whenever a resource is needed it checks if it is already loaded and if it is it returns a pointer to it, otherwise it loads the resource and then returns the pointer to it.
It does nothing, it exists only for standardization purposes. All the Mesh
es and Texture
s are added by each Component
when created.
It iterates over all the stored Texture
s and Mesh
es and destroys them.