Texture¶
The Texture
library is used to store and reference texture resources.
It is mainly used to store UI textures used for Generic styles, via the Feature_GenericUITextures
feature..
TextureLib_Texture Class¶
@field Name string
Resource name.
@field GUID GUID
TextureLib Class¶
Inherits from Library
.
Methods¶
GetTexture¶
Returns a texture by name.
@param name string
RegisterTexture¶
Registers a texture resource.
@param name string
@param data TextureLib_Texture
`Name` is auto-initialized.