Interface ITextureModelLoader
- Namespace
- BSGameLib.UI
- Assembly
- BSGameLib.UI.dll
Loads the textures that a view's XML declares, for the controls that use them.
public interface ITextureModelLoader
Methods
Load(TextureReference, int, int)
Loads the texture named by textureReference at width
by height pixels, rather than at a control's size.
ITexture Load(TextureReference textureReference, int width, int height)
Parameters
textureReferenceTextureReferencewidthintheightint
Returns
Load(UIElement, Texture)
Loads the texture described by textureModel, sized to control.
ITexture Load(UIElement control, Texture textureModel)
Parameters
Returns
Load(UIElement, TextureReference)
Loads the texture named by textureReference, sized to control.
ITexture Load(UIElement control, TextureReference textureReference)
Parameters
controlUIElementtextureReferenceTextureReference
Returns
LoadById(UIElement, string)
Loads the texture with the id id, sized to control.
ITexture LoadById(UIElement control, string id)
Parameters
Returns
LoadById(string, int, int)
Loads the texture with the id id at width by height pixels, rather than at a control's size.
ITexture LoadById(string id, int width, int height)