[Gfx2Texture] texture = gfx.extractTexture(filepath)


Loads a gfx texture from texture pack root

Parameters


filepath

string

--if starting with textures/ will take from the game's pack, otherwise will be from Data

Return Value


texture

Gfx2Texture

The gfx2 texture