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.
Declaration Syntax
C# |
public delegate void TextureDownloadCallback( TextureRequestState state, AssetTexture assetTexture )
Parameters
- state ( TextureRequestState)
- The TextureRequestStateindicating 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 AssetTextureobject containing the Assets ID, raw data and other information. For progressive rendering the AssetDatawill contain the data from the beginning of the file. For failed, aborted and timed out requests it will contain an empty byte array.
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)