TextureTask loads an image and sets it up for Pixi to use as a PIXI.Texture.
springroll.pixi.TextureTask
asset.type
[asset.image]
[asset.color]
[asset.alpha]
[asset.cache=false]
[asset.id]
[asset.complete]
[asset.sizes=null]
asset.type
String
Must be "pixi" to signify that this asset should be parsed specifically for Pixi.
[asset.image]
String
optional
The texture image path.
[asset.color]
String
optional
The color image path, if not using image property.
[asset.alpha]
String
optional
The alpha image path, if not using image property.
[asset.cache=false]
Boolean
optional
If we should cache the result - caching results in caching in the global Pixi texture cache as well as Application's asset cache.
[asset.id]
String
optional
The id of the task.
[asset.complete]
Function
optional
The callback to call when the load is completed.
[asset.sizes=null]
Object
optional
Define if certain sizes are not supported
start
callback
Start the load
callback
Object
Callback to call when the load is done