2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module TextureCache
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] reloadTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-05-26 09:58:46 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] unbindAllImageAsync
|
|
|
|
-- @param self
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] removeTextureForKey
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] removeAllTextures
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] getCachedTextureInfo
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: addImage(cc.Image, string)
|
|
|
|
--
|
|
|
|
-- overload function: addImage(string)
|
|
|
|
--
|
|
|
|
-- @function [parent=#TextureCache] addImage
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Image image
|
|
|
|
-- @param #string str
|
|
|
|
-- @return Texture2D#Texture2D ret (retunr value: cc.Texture2D)
|
|
|
|
|
2014-05-26 09:58:46 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] unbindImageAsync
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] getTextureForKey
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] removeUnusedTextures
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] removeTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] waitForQuit
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#TextureCache] TextureCache
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|