class CHuiTextureManager : public CActive |
CHuiTextureManager is responsible for managing the texture objects used by the application. It provides asynchronous loading of image data into CHuiTexture instances. The texture manager also manages font textures, which can be used for compositing text in text meshes.
The texture manager makes sure that only one copy of each image is loaded at a time, so even if the application requests the same image several times it is only loaded once. Textures are identified either by an integer ID or by their file name.
TodoDocument supported image (file) formats / how are the images loaded
CHuiTextureManager is owned by CHuiEnv, and should be accessed via a CHuiEnv instance. You should never construct your own texturemanagers.
hitchcock.lib
Protected Member Functions | |
---|---|
CHuiTextureManager (CHuiEnv &) | |
IMPORT_C void | BaseConstructL () |
IMPORT_C TInt | CheckTexture (const TDesC &, TInt ) |
IMPORT_C TInt | CheckTexture ( TInt ) |
NONSHARABLE_CLASS (CTextureEntry) | |
IMPORT_C void | NotifyTextureLoaded ( CHuiTexture &, TInt , TInt ) |
IMPORT_C void | SetProcessor ( CHuiTextureProcessor *) |
IMPORT_C CTextureEntry * | TextureEntry ( TInt ) |
IMPORT_C TInt | TextureEntryCount () |
IMPORT_C void | TextureManagerExtension (const TUid &, TAny **) |
Public Member Enumerations | |
---|---|
enum | TState { EIdle , ELoading } |
Protected Member Enumerations | |
---|---|
enum | TReleaseState { ENormal , EReleasing , EReleased , EPartiallyReleased , ERestoring } |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Private Attributes | |
---|---|
RArray < TAnimatedTextureGroupItem > | iAnimatedTextureGroupItems |
CHuiTextureAnimationState * | iAnimationWithoutGroup |
RPointerArray < CHuiTextureAnimationState > | iAnimations |
CFbsBitmap * | iBitmap |
CHuiTexture * | iBlankTexture |
TBool | iEnableTexMemCalculation |
CHuiEnv & | iEnv |
RFs & | iFS |
TInt | iFontIdEnumerator |
TBool | iHasChangedTextures |
HBufC * | iImagePath |
RArray < SLoadQueueEntry > | iLoadQueue |
TBool | iLoadQueueHadValidTexture |
CFbsBitmap * | iMaskBitmap |
CHuiTextureProcessor * | iProcessor |
TReleaseState | iReleaseState |
TState | iState |
TBool | iTextureAutoSizingEnabled |
RPointerArray < CTextureEntry > | iTextures |
Inherited Attributes | |
---|---|
CActive::iStatus |
IMPORT_C | CHuiTextureManager | ( | CHuiEnv & | aEnv | ) | [protected] |
Constructor.
CHuiEnv & aEnv |
IMPORT_C TInt | AddAnimatedTextureGroupL | ( | const RArray < TInt > & | aTextureIds | ) |
Adds animated texture group. Use this method to inform texture manager that when texture is loaded, it's allowed to use previous state of the group. Each texture id should belong at most to one group. This method should be called before using these texture ids to load textures.
IMPORT_C void | AdvanceTime | ( | TReal32 | aElapsedTime | ) | const |
Informs the texture manager that time has progressed. The manager will update any animated textures.
TReal32 aElapsedTime |
IMPORT_C void | AppendTextureL | ( | CHuiTexture * | aTexture, |
TInt | aId = 0 | |||
) | [virtual] |
Appends a texture to the texture manager's list of managed textures. Ownership of the texture is transferred to the manager; when the manager is destroyed, the texture will be destroyed, too.
CHuiTexture * aTexture | Texture to transfer to the manager. |
TInt aId = 0 | Id for the texture. Must be unique. Use zero for unassigned id. |
IMPORT_C const CHuiTexture & | BlankTexture | ( | ) | const |
Returns the blank texture. This can be used as a dummy texture if no real texture is available.
IMPORT_C CHuiTexture & | BlankTexture | ( | ) |
Returns the blank texture. This can be used as a dummy texture if no real texture is available. Will generate the blank texture if the texture is not yet available.
void | CancelLoadingOfTexture | ( | CHuiTexture & | aTexture | ) | [private] |
Cancels the scheduled or ongoing loading of a texture. If the texture is found from load queue it is immediately removed from the queue. If the removed texture was being loaded at the time this method is called the loading is cancelled and restarted from the next unloaded texture.
CHuiTexture & aTexture | Reference to the texture of which load is cancelled. |
IMPORT_C TInt | CheckTexture | ( | const TDesC & | aFileName, |
TInt | aFrameNumber = 0 | |||
) | const [protected] |
Check the existence of a texture.
IMPORT_C TInt | CheckTexture | ( | TInt | aId | ) | const [protected] |
Check the existence of a texture.
TInt aId | Id of the texture to check. |
CHuiTextureAnimationState * | CreateAnimationStateL | ( | TInt | aGroupId, |
const TDesC & | aImageFile, | |||
TInt | aFrameNumber, | |||
TInt | aFrameCount | |||
) | [private] |
Creates animation state.
IMPORT_C CHuiTexture & | CreateTextureL | ( | TInt | aId, |
MHuiBitmapProvider * | aBitmapProvider, | |||
THuiTextureUploadFlags | aFlags | |||
) |
Creates a texture by calling the ProvideBitmapL method of the passed MHuiBitmapProvider .
If a texture with the given id is already created or loaded the previously existing texture is returned. If texture with the given id has been unloaded with UnloadTexture() method then the id is reused by loading a new texture on the id.
If EHuiTextureFlagAllowDirectBitmapUsage flag is used, the provided bitmaps should be in the preferred format. That can be found using CHuiDisplay::GetPreferredTextureFormats(). Also the bitmaps shall not be compressed or have duplicated handle.
TInt aId | Id for the texture. Must be unique. Use zero for unassigned id. |
MHuiBitmapProvider * aBitmapProvider | A bitmap provider that will load the bitmaps for us. The ProvideBitmapL method of this will be called, which should load or generate the needed bitmaps. |
THuiTextureUploadFlags aFlags | Specify load/upload behavior - how to convert the bitmap to texture. |
IMPORT_C CHuiTexture & | CreateTextureL | ( | CFbsBitmap & | aBitmap, |
const CFbsBitmap * | aMask, | |||
THuiTextureUploadFlags | aFlags, | |||
TInt | id | |||
) | [private, virtual] |
Creates a texture from the given CFbsBitmap and its mask bitmap. This is a synchronous method call and will result in consequent call of TextureLoadingCompleted of all observers if the texture creation was successful. As filename cannot be acquired for created textures the user provided string will be used. Note that the filename has to be unique for all textures. Textures are identified by their filename and if a texture with existing filename is loaded / created then already loaded / created texture will be returned instead of creating a new texture.
There are problems in creating textures from icon bitmaps exported using AknsUtils::CreateAppIconLC() . It seems that it is impossible to access the bitmap data of created icon directly using DataAddtess() - method or THuiBitmapUtil - method. HUIToolkit relies on these methods. To create textures from the system icons you have to copy the icons to temporary CFbsBitmaps. Notice that duplicating the bitmap handle with CFbsBitmap::Duplicate is not enough. You have to make a physical copy.
CFbsBitmap & aBitmap | The source bitmap from which the texture is created. |
const CFbsBitmap * aMask | Pointer to the mask bitmap that is used as alpha blending mask for the texture. This parameter can be NULL for textures without alpha channel. |
THuiTextureUploadFlags aFlags | |
TInt id |
IMPORT_C void | DefineFileNameL | ( | TInt | aId, |
const TDesC & | aImageName | |||
) |
Define (register) a texture resource (filename/path) for a texture id. Enables calling the LoadTextureL only with an id. This resource will then be loaded when LoadTextureL is called with the id.
void | DoLoadNextL | ( | ) | [private] |
void | DoUnload | ( | TInt | index | ) | [private] |
Unloads a texture having given index in the texture array (iTextures).
TInt index |
void | EnableAutoSizeCalculation | ( | TBool | aEnable = ETrue | ) |
Enables (or disables) texture autosize calculations.
TBool aEnable = ETrue |
IMPORT_C void | EnableTexMemoryCalculation | ( | TBool | aEnableTeMemCal | ) |
Sets a flag if texture memory usage calculation should be done and printed.
TBool aEnableTeMemCal |
TInt | EstimatedTextureMemUsage | ( | TInt | aAverageBitsPerPixel | ) | const |
Estimated mem usage for textures assuming that textures which have pixel content are using given amount of memory per pixel.
TInt aAverageBitsPerPixel |
CHuiTextureAnimationState * | FindAnimationState | ( | TInt | aGroupId | ) | [private] |
Finds animation state owned by aGroupId.
TInt aGroupId |
TBool | FindGroupIdByTextureId | ( | TInt | aTextureId, |
TInt & | aGroupId | |||
) | const [private] |
Finds group id by texture id.
RFs & | FsSession | ( | ) | const [private] |
Returns the file server session that should be used by the manager.
void | ImageLoadingCompleteL | ( | SLoadQueueEntry & | aEntry | ) | [private] |
Called when an image has finished loading. Handles uploading of the loaded bitmap to the texture.
SLoadQueueEntry & aEntry | queue entry. |
TInt | ImageLoadingContinue | ( | ) | [private] |
Called when a sub-image has been loaded (before calling ImageLoadingCompleteL ). This method checks if we need to continue loading.
IMPORT_C const TDesC & | ImagePath | ( | ) | const |
Returns the current image path. LoadTexture() Call to load textures from this location.
TBool | IsInLoadQueue | ( | const CHuiTexture * | texture | ) | const [private] |
Returns true if the given texture is still in the load queue.
const CHuiTexture * texture |
TBool | IsInLoadQueue | ( | TInt | id | ) | const [private] |
Returns true if the given texture is still in the load queue.
TInt id |
IMPORT_C TBool | IsLoaded | ( | const TDesC & | aImageName, |
const TInt | aFrameNumber = 0 | |||
) | const |
Checks if a texture exists, has content and is not found from the texture load queue.
Mainly meant for file-based textures to check if the texture is ready to be used.
Note that textures may have some temporary placeholder content already before they have been fully loaded!
For CreateTextureL -based textures it is recommended to use CHuiTexture::HasContent() directly.
IMPORT_C TBool | IsLoaded | ( | TInt | aId | ) | const |
Checks if a texture exists, has content and is not found from the texture load queue.
Mainly meant for file-based textures to check if the texture is ready to be used.
Note that textures may have some temporary placeholder content already before they have been fully loaded!
For CreateTextureL -based textures it is recommended to use CHuiTexture::HasContent() directly.
TInt aId | Id of the texture. |
IMPORT_C TBool | IsLoaded | ( | const CHuiTexture * | aTexture | ) | const |
Checks if a texture exists, has content and is not found from the texture load queue.
Mainly meant for file-based textures to check when the texture is ready to be used.
Note that textures may have some temporary placeholder content already before they have been fully loaded!
For CreateTextureL -based textures it is recommended to use CHuiTexture::HasContent() directly.
const CHuiTexture * aTexture | Texture object. |
IMPORT_C TInt | LoadQueueCount | ( | ) | const |
Returns the number of images waiting to be loaded.
IMPORT_C CHuiTexture & | LoadTextureL | ( | const TDesC & | aImageFileName, |
THuiTextureUploadFlags | aFlags = EHuiTextureUploadFlagDefault, | |||
TInt | aId = 0, | |||
TInt | aFrameNumber = 0 | |||
) |
Loads an image and makes it a texture. The bitmap files are searched in the path specified with SetImagePathL. The format of the loaded image must be supported by the system (Series 60) codecs.
LoadTextureL is an asynchronous method, which returns an empty texture which is loaded and filled in the background. Register an MHuiTextureLoadingCompletedObserver instance to the iLoadedObservers array, whose TextureLoadingCompleted() method will be called when textures finish loading. The same observer is also called if an error occurs during the loading process. The other method is to check if an image has been loaded with TextureManagers IsLoaded() .
If a texture with the given id or filename is already loaded the previously loaded texture is returned. If texture with the given id has been unloaded with UnloadTexture() method then the id is reused by loading a new texture on the id.
If both image name and id are left undefined ("" and zero), will return a blank texture.
const TDesC & aImageFileName | Name of the image bitmap file to load. Relative to the image load path. If empty filename is used, will check if a filename for the id has been defined and load a texture using that resource location, if possible. |
THuiTextureUploadFlags aFlags = EHuiTextureUploadFlagDefault | Specify flags for the texture loading and uploading - how to convert the bitmap to texture. |
TInt aId = 0 | Id for the texture. Must be unique, but may be left unassigned. Use zero for unassigned id. |
TInt aFrameNumber = 0 |
IMPORT_C CHuiTexture & | LoadTextureL | ( | const TInt | aId, |
const TSize & | aTextureMaxSize = TSize (0, 0), | |||
THuiTextureUploadFlags | aFlags = EHuiTextureUploadFlagDefault | |||
) |
Loads an image based on pre-registered id and file name.
DefineFileName()LoadTextureL is an asynchronous method, which returns an empty texture which is loaded and filled in the background. Register an MHuiTextureLoadingCompletedObserver instance to the iLoadedObservers array, whose TextureLoadingCompleted() method will be called when textures finish loading. The same observer is also called if an error occurs during the loading process. The other method is to check if an image has been loaded with TextureManagers IsLoaded() .
If a texture with the given id or filename is already loaded the previously loaded texture is returned. If texture with the given id has been unloaded with UnloadTexture() method then the id is reused by loading a new texture on the id.
SetImagePathL() To set the image search path. Set to "" to use absolute image filenames. iLoadObservers MHuiTextureLoadingCompletedObserver::TextureLoadingCompleted() IsLoaded()
const TInt aId | The id of the texture/filename to load. The id must have a filename assigned by a call to DefineFileName(). If the id is left undefined (zero), will return a blank texture. |
const TSize & aTextureMaxSize = TSize (0, 0) | Can be used to define a maximum dimensions for the final texture. The image data loaded will be scaled (down) and fitted to these dimensions. Use zero or below-zero values if size does not matter. If the texture size is larger than the texture size supported by the GL, the texture will be split to multiple segments. |
THuiTextureUploadFlags aFlags = EHuiTextureUploadFlagDefault | Specify upload behavior - how to convert the bitmap to texture and other load/upload behavior. |
IMPORT_C CHuiTexture & | LoadTextureL | ( | const TDesC & | aImageName, |
const TSize & | aTextureMaxSize, | |||
THuiTextureUploadFlags | aFlags = EHuiTextureUploadFlagDefault, | |||
TInt | aId = 0, | |||
TInt | aFrameNumber = 0 | |||
) |
Loads an image and makes it a texture. The bitmap files are searched in the path specified with SetImagePathL. The format of the loaded image must be supported by the system (Series 60) codecs.
LoadTextureL is an asynchronous method, which returns an empty texture which is loaded and filled in the background. Register an MHuiTextureLoadingCompletedObserver instance to the iLoadedObservers array, whose TextureLoadingCompleted() method will be called when textures finish loading. The same observer is also called if an error occurs during the loading process. The other method is to check if an image has been loaded with TextureManagers IsLoaded() .
If a texture with the given id or filename is already loaded the previously loaded texture is returned. If texture with the given id has been unloaded with UnloadTexture() method then the id is reused by loading a new texture on the id.
If both image name and id are left undefined ("" and zero), will return a blank texture.
const TDesC & aImageName | Name of the image bitmap file to load. If empty filename is used, will check if a filename for the aId has been defined (using DefineFileNameL()) and load a texture using that resource location, if possible. |
const TSize & aTextureMaxSize | Can be used to define a maximum dimensions for the final texture. The image data loaded will be scaled (down) and fitted to these dimensions. Use zero or below-zero values if size does not matter. If the texture size is larger than the texture size supported by the GL, the texture will be split to multiple segments. |
THuiTextureUploadFlags aFlags = EHuiTextureUploadFlagDefault | Specify load/upload behavior - how to convert the bitmap to texture. |
TInt aId = 0 | Id for the texture. Must be unique. Use zero for unassigned id. |
TInt aFrameNumber = 0 |
NONSHARABLE_CLASS | ( | CTextureEntry | ) | [protected, inline] |
Permanent registration entry for textures.
CTextureEntry |
TBool | NeedsAnimationState | ( | const CImageDecoder & | aDecoder | ) | [private, static] |
Checks if animation state is needed.
const CImageDecoder & aDecoder | decoder. |
IMPORT_C void | NotifySkinChangedL | ( | ) |
Releases and restores skin dependent textures. Usually called after system skin has been changed.
void | NotifyStateChange | ( | ) | const [private] |
Helper method that notifies observers of texture manager state change. iStateObservers
IMPORT_C void | NotifyTextureLoaded | ( | CHuiTexture & | aTexture, |
TInt | aTextureId, | |||
TInt | aErrorCode | |||
) | const [protected] |
Helper method that notifies observers of texture load completion. iLoadObservers
CHuiTexture & aTexture | |
TInt aTextureId | |
TInt aErrorCode |
SLoadQueueEntry | PopLoadedQueueEntry | ( | ) | [private] |
Cleans up the topmost load queue entry and removes it from the load queue. Deletes the decoder, but not the loaded texture entry.
IMPORT_C void | PrependImagePath | ( | TDes & | aFileName | ) | const |
Prepends the image path to the beginning of the file name, if necessary.
TDes & aFileName |
void | ProcessAnimatedFrameL | ( | SLoadQueueEntry & | aEntry | ) | [private] |
Processes animated frame.
SLoadQueueEntry & aEntry | queue entry. |
IMPORT_C CHuiTextureProcessor & | Processor | ( | ) |
Returns a reference to the texture processor.
IMPORT_C TBool | Release | ( | ) | [virtual] |
Releases texture manager resources. Releases all textures. Called when the render plugin is released.
While the release operation is in progress, it is not possible to delete CHuiTexture instances or create new ones. After the release has been completed, textures can again be deleted and created.
IMPORT_C void | RemoveAnimatedTextureGroup | ( | TInt | aGroupId | ) |
Removes animated texture group.
TInt aGroupId | animated texture group id. |
void | RemoveAnimationState | ( | CHuiTextureAnimationState * | aState | ) | [private] |
Removes animation state.
CHuiTextureAnimationState * aState | state to be removed. |
IMPORT_C void | RemoveTexture | ( | CHuiTexture & | aTexture | ) | [virtual] |
Removes a texture from management. The texture's ownership is transferred to the caller.
CHuiTexture & aTexture | Texture to remove from management. |
IMPORT_C void | RestoreL | ( | ) | [virtual] |
Restores texture manager resources. Restores the content of all textures released in Release() . Called when render plugin restored.
While the restore operation is in progress, it is not possible to delete CHuiTexture instances or create new ones. After the restore has been completed, textures can again be deleted and created.
IMPORT_C TInt | RunError | ( | TInt | aError | ) | [private, virtual] |
Handles a leave occurring in the request completion event handler RunL() .
TInt aError |
IMPORT_C void | RunL | ( | ) | [private, virtual] |
Called when image loading (decoding) operation is complete.
IMPORT_C void | SetHasChangedTextures | ( | ) |
Sets a flag that indicates that there are changed textures.
IMPORT_C void | SetImagePathL | ( | const TDesC & | aPath | ) |
Sets the path where bitmaps are loaded from. If drive is not included, tries to resolver that using CCoeEnv
LoadTexture() Call to load textures from this location.
const TDesC & aPath | Path for bitmap files. |
IMPORT_C void | SetProcessor | ( | CHuiTextureProcessor * | aProcessor | ) | [protected] |
Sets the texture processor of the manager. Ownership of the processor is given to the manager.
CHuiTextureProcessor * aProcessor | Texture processor instance. Ownership is transferred. |
IMPORT_C TBool | SetTextureId | ( | CHuiTexture * | aTexture, |
TInt | aId | |||
) |
Iterates through the managed textures to find aTexture, and then assigns it a new ID of aId.
CHuiTexture * aTexture | The managed texture whose ID we want to change. |
TInt aId | The texture ID that we want to assign to the managed texture. |
void | StartLoading | ( | ) | [private] |
Starts loading next images from the load queue. If scheduling a queue entry fails for some reason, the entry is discarded and the next queue entry is processed.
IMPORT_C CHuiTexture * | Texture | ( | TInt | aId | ) |
Retuns a texture having given id. Will return a blank texture if the id was not found. With this method there is a danger of editing the blank texture instead of the real texture you intended to edit.
TInt aId |
IMPORT_C const CHuiTexture * | Texture | ( | TInt | aId | ) | const |
Retuns a texture having given id. Will return a default blank texture if the id was not found.
TInt aId |
IMPORT_C CTextureEntry * | TextureEntry | ( | TInt | aIndex | ) | [protected] |
Returns a texture entry.
TInt aIndex | Index of the texture. |
IMPORT_C TInt | TextureEntryCount | ( | ) | const [protected] |
Returns the number of texture entries.
IMPORT_C CHuiTexture * | TextureL | ( | TInt | aId | ) |
Returns a texture associated with the given id. Will leave if no associated texture exists. If the texture is defined using the DefineFileNameL but the texture data is not yet loaded then this method call will result in LoadTextureL call.
TInt aId | Id of the retrieved texture. |
IMPORT_C void | TextureManagerExtension | ( | const TUid & | aExtensionUid, |
TAny ** | aExtensionParams | |||
) | [protected, virtual] |
Provides expandability, helps keeping the binary compatibility. Since virtual table is now exported and this class is dll derivable and the implementation is more difficult to change, hence this method, which can provide additional extension APIs.
IMPORT_C void | UnloadTexture | ( | const TDesC & | aImageName, |
const TInt | aFrameNumber = 0 | |||
) |
Unloads a texture from memory.
May unload several textures from memory, if they have the sane image name assigned!
IMPORT_C void | UnloadTexture | ( | TInt | aId | ) |
Unloads a texture from memory.
This method releases the texture id and image name for reusing. LoadTexture().
TInt aId |
void | UpdateFlags | ( | const CFbsBitmap & | aBitmap, |
const CFbsBitmap * | aMaskBitmap, | |||
THuiTextureUploadFlags & | aFlags | |||
) | [private] |
Update texture flags if needed.
const CFbsBitmap & aBitmap | Bitmap. |
const CFbsBitmap * aMaskBitmap | |
THuiTextureUploadFlags & aFlags | Texture flags. This returns the changed value. |
IMPORT_C void | UpdateTextureFromBitmapL | ( | TInt | aId, |
MHuiBitmapProvider * | aBitmapProvider = NULL | |||
) |
Update the texture content by calling the ProvideBitmapL method for the existing provider. Also a new provider can be given as a parameter. The texture must exist prior calling this method.
If EHuiTextureFlagAllowDirectBitmapUsage flag is used, the provided bitmaps should be in the preferred format. That can be found using CHuiDisplay::GetPreferredTextureFormats(). Also the bitmaps shall not be compressed or have duplicated handle.
TInt aId | Id for the texture. Must be unique. Use zero for unassigned id. |
MHuiBitmapProvider * aBitmapProvider = NULL | A bitmap provider that will load the bitmaps for us. The ProvideBitmapL method of this will be called, which should load or generate the needed bitmaps. |
ENormal |
The texture manager is operating normally in the non-released state. |
EReleasing |
The texture manager is currently releasing textures. |
EReleased |
The texture manager is operating normally in the released state. |
EPartiallyReleased |
The texture manager is operating normally in the partly released state. This occurs if some of the textures cannot be released |
ERestoring |
The texture manager is current restoring textures. |
States of a CHuiTextureManager object.
EIdle |
Indicates that the manager is in idle state. A new bitmap loading operation can be started. |
ELoading |
Indicates that the manager is loading a bitmap. |
RArray < TAnimatedTextureGroupItem > | iAnimatedTextureGroupItems | [private] |
Array of animated texture group items.
RHuiObserverArray < MHuiTimeObserver > | iAnimatedTextures |
Animated textures.
CHuiTextureAnimationState * | iAnimationWithoutGroup | [private] |
Animation state that does not belong to any group. Own.
RPointerArray < CHuiTextureAnimationState > | iAnimations | [private] |
Array of animation states. Own.
CHuiTexture * | iBlankTexture | [private] |
Empty texture that is returned if an invalid image is specified.
TBool | iEnableTexMemCalculation | [private] |
To do texture memory usage calculation and print it as info messages
TInt | iFontIdEnumerator | [private] |
Counter for generating new font identifiers.
TBool | iHasChangedTextures | [private] |
Flag to optimize changed texture lookup
RHuiObserverArray < MHuiTextureLoadingCompletedObserver > | iLoadObservers |
Observers that are notified loaded textures of the manager. Applications may directly add and remove their own observers using this public property.
RArray < SLoadQueueEntry > | iLoadQueue | [private] |
Queue of loading tasks.
TBool | iLoadQueueHadValidTexture | [private] |
This variable tells whether there has been a valid texture in the load queue that we have started to load in the current texture load loop. This variable indicates that we have started to load at least one texture during the load loop.
CHuiTextureProcessor * | iProcessor | [private] |
Texture processor instance.
TReleaseState | iReleaseState | [private] |
State of the release/restore process.
RHuiObserverArray < MHuiTextureManagerStateChangedObserver > | iStateObservers |
Observers that are notified of changes in the state of the manager. Applications may directly add and remove their own observers using this public property.
RHuiObserverArray < MHuiTextureAutoSizeObserver > | iTextureAutoSizeObservers |
Observers that are notified when toolkit notices a change in texture auto size e.g. it is now being drawn as different size than before. Observers are notified possibly between every frame, they should handle notifications as quickly as possible.
TBool | iTextureAutoSizingEnabled | [private] |
Flag to tell wheter texture autosizing is enabled
RPointerArray < CTextureEntry > | iTextures | [private] |
Registry of all textures within this toolkit. Accessed by texture ids (iId) or texture filenames (iFileName). Members may be NULL if a texture is not loaded.
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.