Textures are visible areas descended from LayeredRegion, that display either a color block, a gradient, or a graphic raster taken from a .tga or .blp file. Most of their methods relate to setting their appearance or their source information.

Textures are created as children of Frame elements in XML, or by calling Frame:CreateTexture() from Lua. They cannot be reassigned from one frame to another, although you can create another texture on another frame that has the same source. They can also be created in XML with the virtual tag, allowing several similar textures to be created easily.

The WoW client only loads those files that existed when the client was first opened. If you add texture files to your addon's directory, you will need to restart your client in order for those textures to be loadable by the client. Changes to existing files do not have this same restriction.

Defined Methods

Inherited Methods

Script Handlers