Interface ITextureModelStore
- Namespace
- BSGameLib.UI
- Assembly
- BSGameLib.UI.dll
Holds the texture declarations read from views, by id.
public interface ITextureModelStore
Methods
Add(string, Texture)
Stores textureModel under id. The first model stored
under an id is kept.
void Add(string id, Texture textureModel)
Parameters
ExistsByFileName(string)
Whether a stored nine-patch or three-patch texture takes its picture from fileName.
bool ExistsByFileName(string fileName)
Parameters
fileNamestring
Returns
ExistsById(string)
Whether a model is stored under id.
bool ExistsById(string id)
Parameters
idstring
Returns
Get(string)
Returns the model stored under id, or null when there is none.
Texture Get(string id)
Parameters
idstring