nS_LoadImage(bmpfile$, [flags%=4], [bFastLoad%=True])Function

Description:
Loads an image from a file.

Fast loading:
When an image is fast loaded, it doesn't load any base image, and the image must be in a texture's size (power of 2). If it is not fast loaded, it will load a base image (pixel perfect collision) and will match the image size even if it's not a power of 2.

Parameters:
bmpfile$ = Bitmap file
flags% [Default value = 4] = Texture flags
bFastLoad% [Default value = True] = Fast load or not.
Return value:
Handle of the loaded image



Documentation generated by Cod2Doc on 24 Oct 2005.