Table of Contents

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

id string
textureModel Texture

ExistsByFileName(string)

Whether a stored nine-patch or three-patch texture takes its picture from fileName.

bool ExistsByFileName(string fileName)

Parameters

fileName string

Returns

bool

ExistsById(string)

Whether a model is stored under id.

bool ExistsById(string id)

Parameters

id string

Returns

bool

Get(string)

Returns the model stored under id, or null when there is none.

Texture Get(string id)

Parameters

id string

Returns

Texture