Class H264Importer
[ContentImporter(".mp4", DisplayName = "H.264 Video - MonoGame", DefaultProcessor = "VideoProcessor")]
public class H264Importer : ContentImporter<VideoContent>, IContentImporter
- Inheritance
-
H264Importer
- Implements
- Inherited Members
Constructors
H264Importer()
public H264Importer()
Methods
Import(string, ContentImporterContext)
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.
public override VideoContent Import(string filename, ContentImporterContext context)
Parameters
filename
stringName of a game asset file.
context
ContentImporterContextContains information for importing a game asset, such as a logger interface.
Returns
- VideoContent
Resulting game asset.