getImageID

Script::getImageID

Loads an image in the Graphics Module and returns a unique identifier to this image.

Declaration

ImageID getImageID(const Image& image);

Parameters

Name

Type

Description

image

const Image&

Image to load in the Graphics Module.

Returns

A unique ImageID identifier for the image.

If the image could not be loaded, the returned value is NTSHENGN_IMAGE_UNKNOWN.