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
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
|
|
|
-- @param #cc.Texture2D texture2d
|
2014-08-07 10:40:46 +08:00
|
|
|
|
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
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
|
|
|
-- @param #cc.Texture2D texture2d
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] addSpriteFrame
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.SpriteFrame spriteframe
|
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeUnusedSpriteFrames
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] getSpriteFrameByName
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFile
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #cc.Texture2D texture2d
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-08-07 10:40:46 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFramesFromFileContent
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
2014-08-07 10:40:46 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] removeSpriteFrameByName
|
|
|
|
-- @param self
|
2014-08-29 18:38:25 +08:00
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] destroyInstance
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#SpriteFrameCache] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return SpriteFrameCache#SpriteFrameCache ret (return value: cc.SpriteFrameCache)
|
|
|
|
|
|
|
|
return nil
|