MAlfTextureGroupLoadingCompletedObserver Class Reference

class MAlfTextureGroupLoadingCompletedObserver

Provides callback methods for getting notifications when texture manager finishes asynchronous texture loads for a group of textures.

The class willing to receive these events must implement the methods of this interface and register itself as an observer to a texture group.

Public Member Functions
voidTextureGroupLoadingCompleted(CAlfTextureGroup &, TInt)

Member Functions Documentation

TextureGroupLoadingCompleted(CAlfTextureGroup &, TInt)

voidTextureGroupLoadingCompleted(CAlfTextureGroup &aTextureGroup,
TIntaErrorCode
)[pure virtual]
Called to notify the observer that loading of a texture group has been completed.
Note:

One should not commence loading of a new texture in this callback method. Also one should not make any changes to a texture group e.g. add or remove textures in this method.

Parameters

CAlfTextureGroup & aTextureGroupGroup of textures that has been loaded.
TInt aErrorCodeKErrNone if the loading of all textures was successful, otherwise one of the system-wide error codes indicating reason why the first failed texture loading failed.