Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Sprite3DCache Class Reference

the cache data of Sprite3D, use to speed up Sprite3D::create More...

Public Member Functions

Sprite3DData * getSpriteData (const std::string &key) const
 get the SpriteData struct the key of sprite3DData the Sprite3DData
 
bool addSprite3DData (const std::string &key, Sprite3DData *spritedata)
 add the SpriteData into Sprite3D by given the specified key the key of sprite3DData the spritedata to add Whether or not the operation is successful
 
void removeSprite3DData (const std::string &key)
 remove the SpriteData from Sprite3D by given the specified key the key of sprite3DData
 
void removeAllSprite3DData ()
 remove all the SpriteData from Sprite3D
 
var removeAllSprite3DData ()
 remove all the SpriteData from Sprite3D
 
local removeAllSprite3DData ()
 remove all the SpriteData from Sprite3D
 

Static Public Member Functions

static Sprite3DCachegetInstance ()
 get the instance of this object the instance of this object
 
static void destroyInstance ()
 destroy the instance
 
var destroyInstance ()
 destroy the instance
 
local destroyInstance ()
 destroy the instance
 

Detailed Description

the cache data of Sprite3D, use to speed up Sprite3D::create


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