MHuiTextureLoadingCompletedObserver Class Reference

class MHuiTextureLoadingCompletedObserver

Provides callback methods for getting notifications when texture manager finishes asynchronous texture loads. An observer of a CHuiTextureManager.

The class willing to receive these events must implement the methods of this interface, and then register itself to the obsevers list of the texture manager.

CHuiTextureManager

Public Member Functions
voidTextureLoadingCompleted(CHuiTexture &, TInt, TInt)

Member Functions Documentation

TextureLoadingCompleted(CHuiTexture &, TInt, TInt)

voidTextureLoadingCompleted(CHuiTexture &aTexture,
TIntaTextureId,
TIntaErrorCode
)[pure virtual]
Called to notify the observer that loading of a texture has been completed.
Note:

One should not commence loading of a new texture in this callback method.

Parameters

CHuiTexture & aTextureReference to the texture that has been loaded.
TInt aTextureIdId of the texture in the texture manager. Can be used to identify the loaded texture, provided that an id was assigned to the texture.
TInt aErrorCodeKErrNone if the load was successful, otherwise one of the system-wide error codes indicating reason why the texture loading failed.