Export (0) Print
Expand All

MaterialContent.GetTexture Method

Bb197238.note(en-us,XNAGameStudio.41).gifNote
This method is available only when developing for Windows.
Gets a value from the Textures collection.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

protected ExternalReference<TextureContent> GetTexture (
         string key
)

Parameters

key
Type: String
Key of the texture being retrieved.

Return Value

Reference to a texture from the collection.

Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft