Class H264Importer
Provides methods for reading H.264 video files for use in the Content Pipeline
[ContentImporter(new string[] { ".mp4" }, DisplayName = "H.264 Video - MonoGame", DefaultProcessor = "VideoProcessor")]
public class H264Importer : ContentImporter<VideoContent>, IContentImporter
- Inheritance
-
H264Importer
- Implements
- Inherited Members
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
filenamestringName of a game asset file.
contextContentImporterContextContains information for importing a game asset, such as a logger interface.
Returns
- VideoContent
Resulting game asset.