This page contains changes which are not marked for translation.

Available since: Gideros 2021.9
Class: TexturePack


Asynchronously loads a TexturePack object. This function loads the pre-packed texture atlas created by "Gideros Texture Packer" tool.



callback: (function) The function will be called with the Texture object as argument or an error as second argument.
txtfile: (string)
imagefile: (string)
filtering: (boolean, default = false) whether or not the texture is filtered
options: (table, optional) a table that specifies optional parameters. Currently, "transparentColor" and "format" fields are supported