the sprite3D material is only texture for now More...
Public Member Functions | |
| bool | addSprite3DMaterial (const std::string &key, Texture2D *tex) |
| add to cache the key of material the Texture2D to add Whether or not the operation is successful | |
| Texture2D * | getSprite3DMaterial (const std::string &key) |
| get material from cache the key of material the Texture2D of the given material | |
| void | removeAllSprite3DMaterial () |
| remove all spritematerial | |
| void | removeUnusedSprite3DMaterial () |
| remove unused spritematerial | |
Static Public Member Functions | |
| static Sprite3DMaterialCache * | getInstance () |
| get & destroy cache the instance of this object | |
| static void | destroyInstance () |
| destroy the instance | |
the sprite3D material is only texture for now