FreeBSD Manual Pages
image_loaded(3) Arcan Lua API image_loaded(3) NAME image_loaded - Query the status of an asynchronous video object source. SYNOPSIS 0 or 1 image_loaded( vid ) DESCRIPTION For asynchronous image operations, the completion of a load can poten- tially stall for an infinite time. This function queries the status of the asynchronous load, and returns true (1) if the image has loaded and decoded successfully or 0 if it is still in the process of being loaded. EXAMPLE function image_loaded0() a = load_image_asynch("test.png", function(source, status) print(status.kind, image_loaded(source)); end); print(a, image_loaded(source)); end SEE ALSO: load_image_asynch(3) image_pushasynch(3) image April 2025 image_loaded(3)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=image_loaded&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>