cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SpriteFrameCacheHelper Class Reference

#include <CCSpriteFrameCacheHelper.h>

Public Member Functions

void addSpriteFrameFromFile (const char *plistPath, const char *imagePath)
 Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name. More...
 
TextureAtlasgetTexureAtlasWithTexture (Texture2D *texture)
var getTexureAtlasWithTexture ( var texture)
local getTexureAtlasWithTexture ( local texture)

Static Public Member Functions

static CC_DEPRECATED_ATTRIBUTE
SpriteFrameCacheHelper
sharedSpriteFrameCacheHelper ()
static SpriteFrameCacheHelpergetInstance ()
local getInstance ()
static void purge ()

Member Function Documentation

void addSpriteFrameFromFile ( const char *  plistPath,
const char *  imagePath 
)

Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name.

var addSpriteFrameFromFile ( var  plistPath,
var  imagePath 
)

Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name.

local addSpriteFrameFromFile ( local  plistPath,
local  imagePath 
)

Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name.

static SpriteFrameCacheHelper*
getInstance
( )
static
var getInstance ( )
static
local getInstance ( )
static
TextureAtlas*
getTexureAtlasWithTexture
( Texture2D texture)
var getTexureAtlasWithTexture ( var  texture)
local getTexureAtlasWithTexture ( local  texture)
static void purge ( )
static
var purge ( )
static
local purge ( )
static
static CC_DEPRECATED_ATTRIBUTE
SpriteFrameCacheHelper*
sharedSpriteFrameCacheHelper
( )
inlinestatic
var sharedSpriteFrameCacheHelper ( )
inlinestatic
local sharedSpriteFrameCacheHelper ( )
inlinestatic

The documentation for this class was generated from the following file: