addTextureAtlas(key, url, data, atlasData, format)
Add a new texture atlas to the Cache.
Parameters
Name | Type | Description |
---|---|---|
key | string | The key that this asset will be stored in the cache under. This should be unique within this cache. |
url | string | The URL the asset was loaded from. If the asset was not loaded externally set to |
data | object | Extra texture atlas data. |
atlasData | object | Texture atlas frames data. |
format | number | The format of the texture atlas. |
- Source code: loader/Cache.js (Line 616)
Please login to continue.