This function can be used to check if a specific texture page has been unpacked and is ready for use, or if a group of texture pages have been unpacked and are ready for use. You supply the unique texture page ID (as returned by the texturegroup_* functions) or the texture group ID string (as defined in the Texture Group Editor), and the function will return true if they have been unpacked, or false otherwise.
|tex_id||The texture page ID (an integer) or a texture group ID (a string)|
var _tex_array = texturegroup_get_textures(
for (var i = 0; i < array_length_1d(_tex_array); ++i;)
The above code will retrieve the texture page IDs for the texture group "MainMenu", then check to see if they are unpacked, and if they are them they are placed into VRAM.