Small Texture Cache enhancements (#3789)
* Textures track cache id and remove from cache in destroy.

* Added tests related to texture cache contents.
1 parent e387786 commit aeeb6c9c1aab75680369c182fb1d4608061087a8
@Andrew Start Andrew Start authored on 14 Mar 2017
Matt Karl committed on 14 Mar 2017
Showing 6 changed files
View
src/core/textures/BaseTexture.js
View
src/core/textures/Spritesheet.js
View
src/core/textures/Texture.js
View
test/core/BaseTexture.js
View
test/core/Spritesheet.js
View
test/core/Texture.js