Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MaterialContent Class

Bb197878.note(en-us,XNAGameStudio.31).gifNote
This class is available only when developing for Windows.
Provides methods and properties for maintaining a collection of named texture references.

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

public class MaterialContent : ContentItem

In addition to texture references, opaque data values are stored in the OpaqueData property of the base class.

Windows XP SP2, Windows Vista

Community Additions

Show:
© 2015 Microsoft