Table of Contents

Class ContentProcessor<TInput, TOutput>

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides a base class to use when developing custom processor components. All processors must derive from this class.

public abstract class ContentProcessor<TInput, TOutput> : IContentProcessor

Type Parameters

TInput
Provides a base class to use when developing custom processor components. All processors must derive from this class.
TOutput
Provides a base class to use when developing custom processor components. All processors must derive from this class.
Inheritance
ContentProcessor<TInput, TOutput>
Implements
Derived
Inherited Members

Constructors

ContentProcessor()

Initializes a new instance of the ContentProcessor class.

protected ContentProcessor()

Methods

Process(TInput, ContentProcessorContext)

Processes the specified input data and returns the result.

public abstract TOutput Process(TInput input, ContentProcessorContext context)

Parameters

input TInput

Existing content object being processed.

context ContentProcessorContext

Contains any required custom process parameters.

Returns

TOutput

A typed object representing the processed input.