C# Class Protogame.MonoGameContentCompiler

An abstract class that provides common functions for asset compilers that compile via the MonoGame content pipeline.
The base abstract class for asset compilers that pass their content through the MonoGame content pipeline. This provides a general purpose mechanism to call upon the MonoGame content pipeline to compile the input object and return the resulting XNB file.
Mostrar archivo Open project: RedpointGames/Protogame

Protected Methods

Method Description
CompileAndGetBytes ( object content ) : byte[]

Compile the specified input object and return the XNB file as a byte array.

Method Details

CompileAndGetBytes() protected method

Compile the specified input object and return the XNB file as a byte array.
protected CompileAndGetBytes ( object content ) : byte[]
content object /// The content to compile. ///
return byte[]