A callback fired to indicate the status or final state of the requested texture. For progressive
downloads this will fire each time new asset data is returned from the simulator.
| C# |
public delegate void TextureDownloadCallback( TextureRequestState state, AssetTexture assetTexture )
- state (TextureRequestState)
- The TextureRequestState indicating either Progress for textures not fully downloaded, or the final result of the request after it has been processed through the TexturePipeline
- assetTexture (AssetTexture)
- The AssetTexture object containing the Assets ID, raw data and other information. For progressive rendering the AssetData will contain the data from the beginning of the file. For failed, aborted and timed out requests it will contain an empty byte array.