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 | |
---|---|
void | TextureLoadingCompleted(CAlfTexture &, TInt, TInt) |
void | TextureLoadingCompleted | ( | CAlfTexture & | aTexture, |
TInt | aTextureId, | |||
TInt | aErrorCode | |||
) | [pure virtual] |
One should not commence loading of a new texture in this callback method.
CAlfTexture & aTexture | Reference to the texture that has been loaded. |
TInt aTextureId | Id 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 aErrorCode | KErrNone if the load was successful, otherwise one of the system-wide error codes indicating reason why the texture loading failed. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.