Table of Contents

Namespace Microsoft.Xna.Framework.Content

Classes

ContentLoadException

The exception that's thrown when an error occurs when loading content.

ContentManager

The ContentManager is a run-time component which loads managed objects from .xnb binary files produced by the design time MonoGame Content Builder. It also manages the lifespan of the loaded objects, disposing the content manager will also dispose any assets which are themselves IDisposable.

ContentReader

Defines a worker object that implements most of ContentManger.Load. A new content reader is constructed for each asset loaded.

ContentReaderExtensions

Helper extension methods for ContentReader.

ContentSerializerAttribute

Defines a custom Attribute that marks a field or property to control how it is serialized or to indicate that protected or private data should be included in serialization.

ContentSerializerCollectionItemNameAttribute

This is used to specify the XML element name to use for each item in a collection.

ContentSerializerIgnoreAttribute

Defines a custom Attribute that marks a field or property to indicate that it should not be included in serialization.

ContentSerializerRuntimeTypeAttribute

This is used to specify the type to use when deserializing this object at runtime.

ContentSerializerTypeVersionAttribute

This is used to specify the version when deserializing this object at runtime.

ContentTypeReader

Defines the core behavior of content type readers used for reading a specific managed type from an .xnb binary format and provides a base for derived classes.

ContentTypeReaderManager

Defines a manager that constructs and keeps track of ContentTypeReader objects.

ContentTypeReader<T>

Defines the core behavior of content type readers used for reading a specific managed type from an .xnb binary format and provides a base for derived classes. Derive from this class to add new data types to the content pipeline system.

ResourceContentManager

Subclass of ContentManager, which is specialized to read from .resx resource files rather than directly from individual files on disk.