IContentImporter

interface IContentImporter

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

System.Object Import(string filename, ContentImporterContext context)

Imports an asset from the specified file.

Parameters:
  • filename (string) – Name of the game asset file.
  • context (Microsoft.Xna.Framework.Content.Pipeline.ContentImporterContext) – A ContentImporterContext class containing information for importing a game asset, such as a logger interface.
Returns:

Resulting game asset.