| IUIRendererGetTexture Method |
Gets a texture.
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax Texture2D GetTexture(
string name
)
Function GetTexture (
name As String
) As Texture2D
Texture2D^ GetTexture(
String^ name
)
abstract GetTexture :
name : string -> Texture2D
Parameters
- name
- Type: SystemString
The name of the texture. This name is any string - usually the asset name - that identifies
the texture, e.g. "UITexture". Can be to get the default texture.
Return Value
Type:
Texture2D
The font.
See Also