[1] keepFlags [2] 
Use these to define whether or not you wish to guarantee that all loaded resources are kept (default to KEEP_ALL). KEEP_USED is useful when you are loading from a shared library containing more resources than you actually need (a world file loading from a shared library of textures for example).