MaterialContent.GetTexture Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Gets a value from the Textures collection.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
protected ExternalReference<TextureContent> GetTexture( string key )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- key
-
Type: System.String
Key of the texture being retrieved.
Return Value
Type: ExternalReference<TextureContent>Reference to a texture from the collection.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop