The members of CocosSharp.CCTextureCache are listed below.
See Also: Inherited members from System.Object
Documentation for this section has not yet been entered. |
textures | Dictionary<string, CCTexture2D>. Documentation for this section has not yet been entered. |
[read-only] default property | Item(string) | CCTexture2D. Documentation for this section has not yet been entered. |
[read-only] static | SharedTextureCache | CCTextureCache. Documentation for this section has not yet been entered. |
AddImage(string)Returns a object given an file image If the file image was not previously loaded, it will create a new object and it will return it. It will use the filename as a key. Otherwise it will return a reference of a previously loaded image. Supported image extensions: .png, .bmp, .tiff, .jpeg, .pvr, .gif | ||
AddImage(byte[], string, CCSurfaceFormat)Documentation for this section has not yet been entered. | ||
AddImageAsync(string, Action<CCTexture2D>)Documentation for this section has not yet been entered. | ||
AddImageAsync(byte[], string, CCSurfaceFormat, Action<CCTexture2D>)Documentation for this section has not yet been entered. | ||
AddRawImage<T>(T[], int, int, string, CCSurfaceFormat, bool, bool)Documentation for this section has not yet been entered. | ||
AddRawImage<T>(T[], int, int, string, CCSurfaceFormat, bool, bool, CCSize)Documentation for this section has not yet been entered. | ||
Contains(string)Documentation for this section has not yet been entered. | ||
Dispose()Documentation for this section has not yet been entered. | ||
DumpCachedTextureInfo()Output to CCLOG the current contents of this This will attempt to calculate the size of each texture, and the total texture memory in use | ||
static | PurgeSharedTextureCache()Documentation for this section has not yet been entered. | |
RemoveAllTextures()Purges the dictionary of loaded textures. Call this method if you receive the "Memory Warning" In the short term: it will free some resources preventing your app from being killed In the medium term: it will allocate more resources In the long term: it will be the same | ||
RemoveTexture(CCTexture2D)Deletes a texture from the cache given a texture | ||
RemoveTextureForKey(string)Deletes a texture from the cache given a its key name v0.99.4 | ||
RemoveUnusedTextures()Removes unused textures Textures that have a retain count of 1 will be deleted It is convenient to call this method after when starting a new v0.8 | ||
UnloadContent()Documentation for this section has not yet been entered. | ||
Update(float)Documentation for this section has not yet been entered. |