axmol/cocos/scripting/lua-bindings/auto/api/TextureCache.lua

64 lines
1.8 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module TextureCache
--------------------------------
-- @function [parent=#TextureCache] reloadTexture
-- @param self
-- @param #string str
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @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)
--------------------------------
-- @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