Warning: This site is under construction, most links will be broken.
LightX API -> tlxhandle [type]
Last modified on Thu, 29th Mar 2007 at 01:31 UTC by zippletThe tlxhandle type is used by lightX to return handles to objects such as surfaces or sound samples. A handle is valid until you destroy it or you destroy the class that created the object. The type of object the handle references depends on the function that returned the handle. Never pass handles of one type to functions expecting handles of another type or unpredictable behaviour will occur.
Sometimes, it is OK to typecast a tlxhandle to a class or record type to manipulate the object directly if you know it's type. Be careful and only do this with the correct type or you will cause a crash!
<<< Back to LightX documentation root