16 lines
506 B
C#
16 lines
506 B
C#
using Microsoft.Xna.Framework.Content.Pipeline;
|
|
using System.IO;
|
|
using TImport = System.String;
|
|
|
|
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
|
|
{
|
|
[ContentImporter(".tatlas", DisplayName = "Texture Atlas Importer", DefaultProcessor = "TextureAtlasProcessor")]
|
|
internal class TextureAtlasImporter : ContentImporter<TImport>
|
|
{
|
|
public override TImport Import(string filename, ContentImporterContext context)
|
|
{
|
|
return File.ReadAllText(filename);
|
|
}
|
|
}
|
|
}
|