ifTextureRequest

Implemented by

NameDescription
roTextureRequestAn roTextureRequest is used to make requests to the roTextureManager

Supported methods

GetId() as Integer

Description

Returns a unique id for the request.

Parameters

The unique ID.

GetState() as Integer

Description

Returns the state of the request.

Return Value

The state value, which may be one of the following:

ValueState
0Requested
1Downloading
2Downloaded
3Ready
4Failed
5Cancelled

SetAsync(async as Boolean) as Void

Description

Sets the request to be either asynchronous (true) or synchronous (false). The default is asynchronous

Parameters

NameTypeDescription
asyncBooleanThe method used to send the request: asynchronous (true) or synchronous (false).

SetSize(width as Integer, height as Integer) as Void

Description

Sets the desired size of the roBitmap. The default is to return a bitmap in its native size.

Parameters

NameTypeDescription
widthIntegerThe width of the roBitmap.
heightIntegerThe height of the roBitmap.

SetScaleMode(mode as Integer) as Void

Description

Sets the scaling mode to be used.

Parameters