MAlfTextureAutoSizeObserver Class Reference

class MAlfTextureAutoSizeObserver

Provides callback methods for getting notifications when texture manager notices a texture which preferrred size is changed.

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.

Public Member Functions
TBool PreferredSizeChanged(const CAlfTexture &, TSize)

Member Functions Documentation

PreferredSizeChanged(const CAlfTexture &, TSize)

TBool PreferredSizeChanged(const CAlfTexture &aChangedTexture,
TSizeaPreferredSize
)[pure virtual]

Called to notify the observer that the preferred size of some texture has been changed.

Parameters

const CAlfTexture & aChangedTextureTexture which preferred size has changed.
TSize aPreferredSizepreferred size for texture.