H264Importer.Import Method (Microsoft.Xna.Framework.Content.Pipeline)
Called by the framework when importing a game asset. This is the method called by XNA 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: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public VideoContent Import( string filename, ContentImporterContext context )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- filename
-
Type: System.String
Name of a game asset file.
- context
-
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentImporterContext
Contains information for importing a game asset, such as a logger interface.
Return Value
Type: Microsoft.Xna.Framework.Content.Pipeline.VideoContentResulting game asset.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop