MAlfTextureLoadingCompletedObserver Class Reference

class MAlfTextureLoadingCompletedObserver

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

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.

CAlfTextureManager

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

Member Functions Documentation

TextureLoadingCompleted(CAlfTexture &, TInt, TInt)

voidTextureLoadingCompleted(CAlfTexture &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

CAlfTexture & 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.