MHuiTexture Class Reference

class MHuiTexture

MHuiTexture is the most generic interface that all texture classes need to implement. Using MHuiTexture, it is possible to determine which interfaces a specific texture supports.

Constructor & Destructor Documentation

~MHuiTexture()

IMPORT_C~MHuiTexture()[virtual]

Virtual destructor.

Member Functions Documentation

HasContent()

TBool HasContent()const [pure virtual]

Determines whether the texture has content. Only textures that have content can be drawn.

Note that a texture that has not finished loading will return EFalse here, because its content will only become available after it has been fully loaded.

SegmentedTexture()

MHuiSegmentedTexture *SegmentedTexture()[pure virtual]

SegmentedTexture()

const MHuiSegmentedTexture *SegmentedTexture()const [pure virtual]

ShadowedTexture()

MHuiShadowedTexture *ShadowedTexture()[pure virtual]

ShadowedTexture()

const MHuiShadowedTexture *ShadowedTexture()const [pure virtual]

TextureChanged()

TBool TextureChanged()const [pure virtual]

Returns true if the texture has changed since the last change notification. Changed means that the bitmap data of the texture has been modified, and must be re-uploaded to texture memory.

TextureClearChanged()

voidTextureClearChanged()const [pure virtual]

Clears the changed status of the visual.

TextureExtension(const TUid &, TAny **)

voidTextureExtension(const TUid &aExtensionUid,
TAny **aExtensionParameters
)[pure virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParameters