ImagesRes

Get textures from files.

Constructors

this
this(string uiTheme)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getTexture
Texture2D getTexture(string fileName)

Method loads the texture from fileName relative to res/images.

getTextureForUiTheme
Texture2D getTextureForUiTheme(string fileName)

Method loads the texture from fileName for current UI theme i.e. relative to res/ui/themes/images/{theme name}/images.

getTextureFromAbsolutePath
Texture2D getTextureFromAbsolutePath(string fileName)

Method loads the texture from fileName which is absolute path.

Variables

paths
Paths paths;
Undocumented in source.

Meta