ifTextureManager

Implemented by

NameDescription
roTextureManagerThe Texture Manager provides a set of API's for managing an roBitmap cache

Supported methods

RequestTexture(req as Object) as Void

Description

Makes a request for an roBitmap with the attributes specified by the roTextureRequest. The roTextureManager will pass an roTextureRequestEvent to the message port when completed.

Parameters

NameTypeDescription
reqObjectThe roTextureRequest

CancelRequest(req as Object) as Void

Description

Cancels the request specified by req, which should be an roTextureRequest previously passed to the RequestTexture() method.

Parameters

NameTypeDescription
reqObjectThe previoulsy passed roTextureRequest to be cancelled.

UnloadBitmap(url as String) as Void

Description

Removes a bitmap from the roTextureManager with the specified URL.

Parameters

NameTypeDescription
urlStringThe URL of the bitmap to be removed from the roTextureManager

Cleanup() as Void

Description

Removes all bitmaps from the roTextureManager.