Vizard 8 » Command Index » Vizard objects » texture » <texture>.getAsyncStatus
8.0

<texture>.getAsyncStatus

Get the async load status of the texture

<texture>.getAsyncStatus()  

Remarks

Returns the current asynchronous loading status of the object.

Return Value

One of the following async status modes:

Async Status

Description

viz.ASYNC_STOPPED

The async operation has been cancelled or reset.

viz.ASYNC_LOADING

The async operation is in progress.

viz.ASYNC_SUCCESS

The async operation has successfully completed and the object is fully loaded and ready to use.

viz.ASYNC_FAIL

The async operation failed and the object was not loaded.

See also

<viz>.addTexture
<viz>.addTextureFromBuffer
<texture>.load
<texture>.loadBuffer
<vizact>.onAsyncLoad
<viztask>.waitAsyncLoad