ContentProcessorContext.Convert Generic Method (TInput, String, OpaqueDataDictionary)
Note
This generic method is available only when developing for Windows.
Converts a content item object using the specified content processor.
Syntax
'Declaration
Public MustOverride Function Convert(Of TInput, TOutput) ( _
input As TInput, _
processorName As String, _
processorParameters As OpaqueDataDictionary _
) As TOutput
public abstract TOutput Convert<TInput,TOutput> (
TInput input,
string processorName,
OpaqueDataDictionary processorParameters
)
public:
generic<typename TInput, typename TOutput>
TOutput Convert(
TInput input,
String processorName,
OpaqueDataDictionary processorParameters
) abstract
Type Parameters
- TInput
Type of the input content. - TOutput
Type of the converted output.
Parameters
- input
Type: TInput
Source content to be converted. - processorName
Type: String
Optional processor for this content. - processorParameters
Type: OpaqueDataDictionary
Optional paramters for the processor.
Return Value
Type: TOutput
Reference of the final converted content.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
ContentProcessorContext Class
ContentProcessorContext Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows 7, Windows Vista, Windows XP