forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIContentImporter.cs
22 lines (20 loc) · 892 Bytes
/
IContentImporter.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// MonoGame - Copyright (C) MonoGame Foundation, Inc
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace Microsoft.Xna.Framework.Content.Pipeline
{
/// <summary>
/// Accesses a statically typed ContentImporter instance from generic code using dynamic typing.
/// </summary>
public interface IContentImporter
{
/// <summary>
/// Imports an asset from the specified file.
/// </summary>
/// <param name="filename">Name of the game asset file.</param>
/// <param name="context">A ContentImporterContext class containing information for importing a game asset, such as a logger interface.</param>
/// <returns>Resulting game asset.</returns>
Object Import(string filename, ContentImporterContext context);
}
}