GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
image_loaded(3) Arcan Lua API image_loaded(3)

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)

June 2022 image

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.