EffectImporter.Import Method
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.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public override EffectContent Import (
string filename,
ContentImporterContext context
)
Parameters
- filename
Name of a game asset file. - context
Contains information for importing a game asset, such as a logger interface.
Return Value
Resulting game asset.
See Also
Reference
EffectImporter Class
EffectImporter Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Build content in XNA Game Studio for Windows Phone 7, Xbox 360, Windows 7, Windows Vista, and Windows XP.