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

75 lines
2.0 KiB
Lua
Raw Normal View History

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