The width of the texture
The height of the texture
The string representation of the texture
The following functions can return this type.
[Gfx2Texture] texture = gfx.extractTexture(filepath) [Gfx2Texture] texture = Skin.texture() [Gfx2Texture] texture = Skin.capeTexture() [Gfx2Texture]|[nil] Texture = BinaryFile.parseImage(self, bytesToRead) [Gfx2Texture] tex = gfx2.dumpTexture(texture) [Gfx2Texture] texture = gfx2.loadImageFromUrl(url, headers) [Gfx2Texture]|[nil] texture = gfx2.loadImage(filepath) [Gfx2Texture]|[nil] texture = gfx2.loadImage(width, height, Base64Texture) [Gfx2Texture]|[nil] texture = gfx2.createImage(width, height) [Gfx2Texture] texture = gfx2.loadImageFromStringForm(stringForm) [Gfx2Texture] copy = Gfx2Texture.clone(self)