Files
cocos4/docs/cocos2d/core/textures/getKeyByTexture.js
T

3 lines
62 B
JavaScript

---------
var key = cc.textureCache.getKeyByTexture(texture);