Adds a texture to the cache, adding a retain count to the texture. Texture caches only allow a single instance of a texture to be stored within.
Finds the slot of a given texture within the cache.
Tries to get a texture from the cache.
Inserts a texture into the texture cache at the given index, the texture cache is resized to accomodate the index.
Prunes all textures from the cache, only leaving behind textures referenced from outside of the cache.
A cache of textures in use by a model.