// MonoGame - Copyright (C) The MonoGame Team
// 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
{
///
/// Provides methods and properties for accessing a statically typed ContentProcessor subclass, using dynamically typed object data.
///
public interface IContentProcessor
{
///
/// Gets the expected object type of the input parameter to IContentProcessor.Process.
///
Type InputType { get; }
///
/// Gets the object type returned by IContentProcessor.Process.
///
Type OutputType { get; }
///
/// Processes the specified input data and returns the result.
///
/// Existing content object being processed.
/// Contains any required custom process parameters.
/// An object representing the processed input.
Object Process(Object input, ContentProcessorContext context);
}
}