Table of Contents

Interface IContentImporter

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Accesses a statically typed ContentImporter instance from generic code using dynamic typing.

public interface IContentImporter

Methods

Import(string, ContentImporterContext)

Imports an asset from the specified file.

object Import(string filename, ContentImporterContext context)

Parameters

filename string

Name of the game asset file.

context ContentImporterContext

A ContentImporterContext class containing information for importing a game asset, such as a logger interface.

Returns

object

Resulting game asset.