#include <CCSprite3D.h>
Classes | |
struct | Sprite3DData |
Public Member Functions | |
Sprite3DData * | getSpriteData (const std::string &key) const |
get the SpriteData struct More... | |
bool | addSprite3DData (const std::string &key, Sprite3DData *spritedata) |
add the SpriteData into Sprite3D by given the specified key More... | |
var | addSprite3DData ( var key, var spritedata) |
add the SpriteData into Sprite3D by given the specified key More... | |
local | addSprite3DData ( local key, local spritedata) |
add the SpriteData into Sprite3D by given the specified key More... | |
void | removeSprite3DData (const std::string &key) |
remove the SpriteData from Sprite3D by given the specified key More... | |
void | removeAllSprite3DData () |
remove all the SpriteData from Sprite3D More... | |
var | removeAllSprite3DData () |
remove all the SpriteData from Sprite3D More... | |
local | removeAllSprite3DData () |
remove all the SpriteData from Sprite3D More... | |
~Sprite3DCache () | |
~Sprite3DCache () | |
~Sprite3DCache () |
Static Public Member Functions | |
static Sprite3DCache * | getInstance () |
get & destroy More... | |
var | getInstance () |
get & destroy More... | |
local | getInstance () |
get & destroy More... | |
static void | destroyInstance () |
var | destroyInstance () |
local | destroyInstance () |
Public Attributes | |
CC_CONSTRUCTOR_ACCESS | __pad0__: Sprite3DCache() |
Protected Attributes | |
std::unordered_map < std::string, Sprite3DData * > | _spriteDatas |
Static Protected Attributes | |
static Sprite3DCache * | _cacheInstance |
var | _cacheInstance |
local | _cacheInstance |
the cache data of Sprite3D, use to speed up Sprite3D::create
~Sprite3DCache | ( | ) |
var ~Sprite3DCache | ( | ) |
local ~Sprite3DCache | ( | ) |
bool addSprite3DData | ( | const std::string & | key, |
Sprite3DData * | spritedata | ||
) |
add the SpriteData into Sprite3D by given the specified key
var addSprite3DData | ( | var | key, |
var | spritedata | ||
) |
add the SpriteData into Sprite3D by given the specified key
local addSprite3DData | ( | local | key, |
local | spritedata | ||
) |
add the SpriteData into Sprite3D by given the specified key
|
static |
|
static |
|
static |
|
static |
get & destroy
|
static |
get & destroy
|
static |
get & destroy
Sprite3DData* getSpriteData | ( | const std::string & | key | ) | const |
get the SpriteData struct
var getSpriteData | ( | var | key | ) |
get the SpriteData struct
local getSpriteData | ( | local | key | ) |
get the SpriteData struct
void removeAllSprite3DData | ( | ) |
remove all the SpriteData from Sprite3D
var removeAllSprite3DData | ( | ) |
remove all the SpriteData from Sprite3D
local removeAllSprite3DData | ( | ) |
remove all the SpriteData from Sprite3D
void removeSprite3DData | ( | const std::string & | key | ) |
remove the SpriteData from Sprite3D by given the specified key
var removeSprite3DData | ( | var | key | ) |
remove the SpriteData from Sprite3D by given the specified key
local removeSprite3DData | ( | local | key | ) |
remove the SpriteData from Sprite3D by given the specified key
CC_CONSTRUCTOR_ACCESS __pad0__ |
var __pad0__ |
local __pad0__ |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |