Table of Contents

Class PipelineBuildEvent

Namespace
MonoGame.Framework.Content.Pipeline.Builder
Assembly
MonoGame.Framework.Content.Pipeline.dll
public class PipelineBuildEvent
Inheritance
PipelineBuildEvent
Inherited Members

Constructors

PipelineBuildEvent()

public PipelineBuildEvent()

Fields

Extension

public static readonly string Extension

Field Value

string

Properties

BuildAsset

Gets or sets the additional (nested) assets.

public List<string> BuildAsset { get; set; }

Property Value

List<string>

The additional (nested) assets.

Remarks

Additional assets are built by using an ExternalReference<T> and calling BuildAndLoadAsset<TInput, TOutput>(ExternalReference<TInput>, string) or BuildAsset<TInput, TOutput>(ExternalReference<TInput>, string).

Examples: The mesh processor may build textures and effects in addition to the mesh.

BuildOutput

Gets or sets the related output files.

public List<string> BuildOutput { get; set; }

Property Value

List<string>

The related output files.

Remarks

Related output files are non-XNB files that are included in addition to the XNB files. Related output files need to be copied to the output folder by a content processor and registered by calling AddOutputFile(string).

Dependencies

Gets or sets the dependencies.

public List<string> Dependencies { get; set; }

Property Value

List<string>

The dependencies.

Remarks

Dependencies are extra files that are required in addition to the SourceFile. Dependencies are added using AddDependency(string). Changes to the dependent file causes a rebuilt of the content.

DestFile

Absolute path to the output file.

public string DestFile { get; set; }

Property Value

string

DestTime

The date/time stamp of the destination file.

public DateTime DestTime { get; set; }

Property Value

DateTime

Importer

public string Importer { get; set; }

Property Value

string

ImporterTime

The date/time stamp of the DLL containing the importer.

public DateTime ImporterTime { get; set; }

Property Value

DateTime

Parameters

public OpaqueDataDictionary Parameters { get; set; }

Property Value

OpaqueDataDictionary

ParametersXml

public List<PipelineBuildEvent.Pair> ParametersXml { get; set; }

Property Value

List<PipelineBuildEvent.Pair>

Processor

public string Processor { get; set; }

Property Value

string

ProcessorTime

The date/time stamp of the DLL containing the processor.

public DateTime ProcessorTime { get; set; }

Property Value

DateTime

SourceFile

Absolute path to the source file.

public string SourceFile { get; set; }

Property Value

string

SourceTime

The date/time stamp of the source file.

public DateTime SourceTime { get; set; }

Property Value

DateTime

Methods

Load(string)

public static PipelineBuildEvent Load(string filePath)

Parameters

filePath string

Returns

PipelineBuildEvent

NeedsRebuild(PipelineManager, PipelineBuildEvent)

public bool NeedsRebuild(PipelineManager manager, PipelineBuildEvent cachedEvent)

Parameters

manager PipelineManager
cachedEvent PipelineBuildEvent

Returns

bool

Save(string)

public void Save(string filePath)

Parameters

filePath string