| UIRendererGetTexture 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 public Texture2D GetTexture(
string name
)
Public Function GetTexture (
name As String
) As Texture2D
public:
virtual Texture2D^ GetTexture(
String^ name
) sealed
abstract GetTexture :
name : string -> Texture2D
override 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.
Implements
IUIRendererGetTexture(String)See Also