2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module SpriteFrameCache
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-08-07 10:40:46 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] addSpriteFramesWithFileContent
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self, string, string
|
|
|
|
-- @overload self, string
|
|
|
|
-- @overload self, string, cc.Texture2D
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#SpriteFrameCache] addSpriteFramesWithFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] addSpriteFrame
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.SpriteFrame spriteframe
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeUnusedSpriteFrames
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] getSpriteFrameByName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] init
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFrames
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromTexture
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Texture2D texture2d
|
|
|
|
|
2014-08-07 10:40:46 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFileContent
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFrameByName
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] destroyInstance
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return SpriteFrameCache#SpriteFrameCache ret (return value: cc.SpriteFrameCache)
|
|
|
|
|
|
|
|
return nil
|