EffectProcessor.Process Method (Microsoft.Xna.Framework.Content.Pipeline.Processors)

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

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public CompiledEffectContent Process(
	EffectContent input, 
	ContentProcessorContext context
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

input
Type: Microsoft.Xna.Framework.Content.Pipeline.Graphics.EffectContent
The effect string to be processed.
context
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext
Context for the specified processor.

Return Value

Type: Microsoft.Xna.Framework.Content.Pipeline.Processors.CompiledEffectContent
A platform-specific compiled binary effect.
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.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop