anx.framework/ANX.Framework.Content.Pipeline/ContentImporterAttribute.cs
Konstantin Koch 8287c54432 Included the Visual Studio extension and made the necessary changes to make it run.
Replaced the old VS templates with ones that offer more flexiblity.
Started replacing the Content Project for the samples with our custom project type.
Inlcuded a basic not yet working AssimpImporter.
2015-04-08 14:50:03 +02:00

65 lines
1.4 KiB
C#

#region Using Statements
using ANX.Framework.NonXNA.Development;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
namespace ANX.Framework.Content.Pipeline
{
[AttributeUsage(AttributeTargets.Class)]
[Serializable]
public class ContentImporterAttribute : Attribute
{
public ContentImporterAttribute(string fileExtension)
{
FileExtensions = new string[] { fileExtension };
}
[CLSCompliant(false)]
public ContentImporterAttribute(params string[] fileExtensions)
{
FileExtensions = fileExtensions;
}
public bool CacheImportedData
{
get;
set;
}
public string DefaultProcessor
{
get;
set;
}
public virtual string DisplayName
{
get;
set;
}
public IEnumerable<string> FileExtensions
{
get;
protected set;
}
public string Category
{
get;
set;
}
}
}