IContentProcessor

interface IContentProcessor

Provides methods and properties for accessing a statically typed ContentProcessor subclass, using dynamically typed object data.

readonly System.Type InputType

Gets the expected object type of the input parameter to IContentProcessor.Process.

readonly System.Type OutputType

Gets the object type returned by IContentProcessor.Process.

System.Object Process(System.Object input, ContentProcessorContext context)

Processes the specified input data and returns the result.

Parameters:
  • input (System.Object) – Existing content object being processed.
  • context (Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext) – Contains any required custom process parameters.
Returns:

An object representing the processed input.