MaterialContent.SetTexture Method
Sets a value in the contained TextureReferenceDictionary object.
If null is passed, the value is removed.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
protected void SetTexture (
string key,
ExternalReference<TextureContent> value
)
Parameters
- key
Name of the key being modified. - value
Value being set.
See Also
Reference
MaterialContent Class
MaterialContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista