Share via


ContentProcessorContext.Convert Generic Method

Converts a content item object using the specified content processor.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public TOutput Convert<TInput,TOutput> (
         TInput input,
         string processorName
)

Type Parameters

  • TInput
    Type of the input content.
  • TOutput
    Type of the converted output.

Parameters

  • input
    Source content to be converted.
  • processorName
    Optional processor for this content.

Return Value

Reference of the final converted content.

See Also

Reference

ContentProcessorContext Class
ContentProcessorContext Members
Microsoft.Xna.Framework.Content.Pipeline Namespace

Platforms

Windows XP SP2, Windows Vista