EffectImporter Class (Microsoft.Xna.Framework.Content.Pipeline)

Provides methods for reading effect (.fx) files for use in the Content Pipeline.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
      Microsoft.Xna.Framework.Content.Pipeline.EffectImporter

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[ContentImporterAttribute(".fx", DisplayName = "Effect Importer - MonoGame", DefaultProcessor = "EffectProcessor")]
public class EffectImporter : ContentImporter<T>

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The EffectImporter type exposes the following members.

  Platforms Name Description
EffectImporter Initializes a new instance of EffectImporter. 
Top
  Platforms Name Description
Import Called by the XNA Framework when importing an .fx file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline. (Overrides ContentImporter<T>.Import().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop