ContentProcessorContext Members

The following tables list the members exposed by the ContentProcessorContext type.

Public Constructors

Name Description
Public Method ContentProcessorContext Initializes a new instance of ContentProcessorContext.

Public Properties

Name Description
Public Property BuildConfiguration Gets the name of the current content build configuration.
Public Property IntermediateDirectory Gets the path of the directory that will contain any intermediate files generated by the content processor.
Public Property Logger Gets the logger interface used for status messages or warnings.
Public Property OutputDirectory Gets the output path of the content processor.
Public Property OutputFilename Gets the output file name of the content processor.
Public Property Parameters Gets the collection of parameters used by the content processor.
Public Property TargetPlatform Gets the current content build target platform.
Public Property TargetProfile Gets the current content build target profile.

Public Methods

Name Description
Public Method AddDependency Adds a dependency to the specified file.
Public Method AddOutputFile Add a file name to the list of related output files maintained by the build item.
Public Method BuildAndLoadAsset Overloaded. Initiates a nested build of the specified asset and then loads the result into memory.
Public Method BuildAsset Overloaded. Initiates a nested build of an asset.
Public Method Convert Overloaded. Converts a content item object using the specified content processor.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

ContentProcessorContext Class
Microsoft.Xna.Framework.Content.Pipeline Namespace