{"action":"created","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1878","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1878/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1878/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1878/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1878","id":86581646,"number":1878,"title":"Does PIXI store spriteSheet json after it's been processed","user":{"login":"RoryPicko","id":11500663,"avatar_url":"https://avatars.githubusercontent.com/u/11500663?v=3","gravatar_id":"","url":"https://api.github.com/users/RoryPicko","html_url":"https://github.com/RoryPicko","followers_url":"https://api.github.com/users/RoryPicko/followers","following_url":"https://api.github.com/users/RoryPicko/following{/other_user}","gists_url":"https://api.github.com/users/RoryPicko/gists{/gist_id}","starred_url":"https://api.github.com/users/RoryPicko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoryPicko/subscriptions","organizations_url":"https://api.github.com/users/RoryPicko/orgs","repos_url":"https://api.github.com/users/RoryPicko/repos","events_url":"https://api.github.com/users/RoryPicko/events{/privacy}","received_events_url":"https://api.github.com/users/RoryPicko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-09T12:27:37Z","updated_at":"2015-06-09T15:02:09Z","closed_at":"2015-06-09T15:02:09Z","body":"I'm looking to implement something whereby I can completely clear all resources of a SpriteSheet.\r\n\r\nfor example I load in a sprite sheet (spritesheet.json) that contains 'sprite.png' and 'sprite2.png' I am then looking to destroy the base texture of the spritesheet, the  the generated textures from the sheet and the json (if stored), It would be a lot easier if i could access the spritesheet.json which could then be looped through to determine which textures in the texture cache need to be deleted\r\n\r\ndestroySpritesFromSheet('spritesheet.json');\r\n\r\nSo that I don't have to individually destroy the textures by name as some sprite sheets have loads of textures and that would be a tedious task"},"comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments/110393889","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1878#issuecomment-110393889","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1878","id":110393889,"user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T15:02:09Z","updated_at":"2015-06-09T15:02:09Z","body":"If you are using the loader then it has the json data in there. If you load a spriteSheet resource then after loading the `.textures` property is an array of textures for the spritesheet, and the `.data` property is the spritesheet json data. The base texture is obviously the same accross all the elements in the `.textures` array."}}