TextureImporter Class (Microsoft.Xna.Framework.Content.Pipeline)
Provides methods for reading texture files for use in the Content Pipeline.
System.Object
Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
Microsoft.Xna.Framework.Content.Pipeline.TextureImporter
Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
Microsoft.Xna.Framework.Content.Pipeline.TextureImporter
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#
[ContentImporterAttribute(Mono.Cecil.CustomAttributeArgument[], DisplayName = "Texture Importer - MonoGame", DefaultProcessor = "TextureProcessor")] public class TextureImporter : ContentImporter<T>
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The TextureImporter type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
TextureImporter | Initializes a new instance of TextureImporter. |
Platforms | Name | Description | |
---|---|---|---|
Import | Called by the XNA Framework when importing a texture file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline. (Overrides ContentImporter<T>.Import().) |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop