ContentImporter<T> Class (Microsoft.Xna.Framework.Content.Pipeline)
Implements a file format importer for use with game assets.
Importers, either provided by the framework or written by a developer, must derive from ContentImporter, as well as being marked with a ContentImporterAttribute.
An importer should produce results in the standard intermediate object model. If an asset has information not supported by the object model, the importer should output it as opaque data (key/value attributes attached to the relevant object). By following this procedure, a content pipeline can access specialized digital content creation (DCC) tool information, even when that information has not been fully standardized into the official object model.
You can also design custom importers that accept and import types containing specific third-party extensions to the object model.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
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#
public abstract class ContentImporter<T> : IContentImporter
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The ContentImporter<T> type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
ContentImporter<T> | Initializes a new instance of ContentImporter. |
System.Object
Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
Microsoft.Xna.Framework.Content.Pipeline.EffectImporter
Microsoft.Xna.Framework.Content.Pipeline.FbxImporter
Microsoft.Xna.Framework.Content.Pipeline.FontDescriptionImporter
Microsoft.Xna.Framework.Content.Pipeline.H264Importer
Microsoft.Xna.Framework.Content.Pipeline.Mp3Importer
Microsoft.Xna.Framework.Content.Pipeline.OggImporter
Microsoft.Xna.Framework.Content.Pipeline.OpenAssetImporter
Microsoft.Xna.Framework.Content.Pipeline.TextureImporter
Microsoft.Xna.Framework.Content.Pipeline.WavImporter
Microsoft.Xna.Framework.Content.Pipeline.WmaImporter
Microsoft.Xna.Framework.Content.Pipeline.WmvImporter
Microsoft.Xna.Framework.Content.Pipeline.XImporter
Microsoft.Xna.Framework.Content.Pipeline.XmlImporter
Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
Microsoft.Xna.Framework.Content.Pipeline.EffectImporter
Microsoft.Xna.Framework.Content.Pipeline.FbxImporter
Microsoft.Xna.Framework.Content.Pipeline.FontDescriptionImporter
Microsoft.Xna.Framework.Content.Pipeline.H264Importer
Microsoft.Xna.Framework.Content.Pipeline.Mp3Importer
Microsoft.Xna.Framework.Content.Pipeline.OggImporter
Microsoft.Xna.Framework.Content.Pipeline.OpenAssetImporter
Microsoft.Xna.Framework.Content.Pipeline.TextureImporter
Microsoft.Xna.Framework.Content.Pipeline.WavImporter
Microsoft.Xna.Framework.Content.Pipeline.WmaImporter
Microsoft.Xna.Framework.Content.Pipeline.WmvImporter
Microsoft.Xna.Framework.Content.Pipeline.XImporter
Microsoft.Xna.Framework.Content.Pipeline.XmlImporter
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop