[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public bool load_async { set; }

Warning: load_async is deprecated since 1.12.

Tries to load a texture from a filename by using a local thread to perform the read operations.


Use platform-specific image loading API, like GdkPixbuf

The initially created texture has dimensions 0x0 when the true size becomes available the size_change signal is emitted and when the image has completed loading the load_finished signal is emitted.

Threading is only enabled if g_thread_init has been called prior to init , otherwise Texture will use the main loop to load the image.

The upload of the texture data on the GL pipeline is not asynchronous, as it must be performed from within the same thread that called main.