RSS

Воскресенье, 22.12.2024, 06:59
Главная » WoW API » API Виджеты » Текстура »

Texture:SetNonBlocking(nonBlocking)

[ править ]
Sets whether the texture object loads its image file in the background.
[клоны]
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:
Code
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)

Также смотрите: Текстура
Ссылки: http://wowprogramming.com/docs/widgets/Texture/SetNonBlocking