Sets whether the texture object loads its image file in the background. Texture loading is normally synchronous, so that UI objects are not shown partially textured while loading; however, non-blocking (asynchronous) texture loading may be desirable in some cases where large numbers of textures need to be loaded in a short time. This feature is used in the default UI's icon chooser window for macros and equipment sets, allowing a large number of icon textures to be loaded without causing the game's frame rate to stagger.

Signature:

Texture:SetNonBlocking(nonBlocking)

Arguments:

  • nonBlocking - True to allow the texture object to load its image file in the background; false (default) to halt the game engine while the texture loads (boolean)