image_loaded - Query the status of an asynchronous video object source.
0 or 1
image_loaded( vid )
For asynchronous image operations, the completion of a load can potentially
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.
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
load_image_asynch(3) image_pushasynch(3)