2012-08-16 07:30:59 +00:00
|
|
|
|
#region Using Statements
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using ANX.Framework.Graphics;
|
|
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
{
|
2012-08-17 14:16:58 +00:00
|
|
|
|
public abstract class ContentProcessorContext
|
2012-08-16 07:30:59 +00:00
|
|
|
|
{
|
2012-08-17 14:16:58 +00:00
|
|
|
|
public ContentProcessorContext()
|
2012-08-16 07:30:59 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public abstract string BuildConfiguration { get; }
|
|
|
|
|
public abstract string IntermediateDirectory { get; }
|
|
|
|
|
public abstract ContentBuildLogger Logger { get; }
|
2012-08-22 10:34:39 +00:00
|
|
|
|
public abstract string OutputDirectory { get; internal set; }
|
|
|
|
|
public abstract string OutputFilename { get; internal set; }
|
2012-08-16 07:30:59 +00:00
|
|
|
|
public abstract OpaqueDataDictionary Parameters { get; }
|
|
|
|
|
public abstract TargetPlatform TargetPlatform { get; }
|
|
|
|
|
public abstract GraphicsProfile TargetProfile { get; }
|
|
|
|
|
|
|
|
|
|
public abstract void AddDependency(string filename);
|
|
|
|
|
public abstract void AddOutputFile(string filename);
|
|
|
|
|
|
|
|
|
|
public TOutput BuildAndLoadAsset<TInput, TOutput>(ExternalReference<TInput> sourceAsset, string processorName)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public abstract TOutput BuildAndLoadAsset<TInput, TOutput>(ExternalReference<TInput> sourceAsset, string processorName, OpaqueDataDictionary processorParameters, string importerName);
|
|
|
|
|
|
|
|
|
|
public ExternalReference<TOutput> BuildAsset<TInput, TOutput>(ExternalReference<TInput> sourceAsset, string processorName)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public abstract ExternalReference<TOutput> BuildAsset<TInput, TOutput>(ExternalReference<TInput> sourceAsset, string processorName, OpaqueDataDictionary processorParameters, string importerName, string assetName);
|
|
|
|
|
|
|
|
|
|
public TOutput Convert<TInput, TOutput>(TInput input, string processorName)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public abstract TOutput Convert<TInput, TOutput>(TInput input, string processorName, OpaqueDataDictionary processorParameters);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|