Share via


EffectProcessor.Process Method

Note

This method is available only when developing for Windows.

Processes the string representation of the specified effect into a platform-specific binary format using the specified context.

Syntax

'Declaration
Public Overrides Function Process ( _
         input As EffectContent, _
         context As ContentProcessorContext _
) As CompiledEffectContent 
public override CompiledEffectContent Process (
         EffectContent input,
         ContentProcessorContext context
)
public:
CompiledEffectContent Process(
         EffectContent input,
         ContentProcessorContext context
) override

Parameters

Return Value

Type: CompiledEffectContent
A platform-specific compiled binary effect.

Remarks

If you get an error during processing, compilation stops immediately. The effect processor displays an error message. Once you fix the current error, it is possible you may get more errors on subsequent compilation attempts.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors

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

See Also

Reference

EffectProcessor Class
EffectProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP