/// <summary> /// Initiates a nested build of an additional asset. /// </summary> /// <typeparam name="TInput">Type of the input.</typeparam> /// <typeparam name="TOutput">Type of the output.</typeparam> /// <param name="sourceAsset">Reference to the source asset.</param> /// <param name="processorName">Optional processor for this content.</param> /// <param name="processorParameters">Optional collection of named values available as input to the content processor.</param> /// <param name="importerName">Optional importer for this content.</param> /// <param name="assetName">Optional name of the final compiled content.</param> /// <returns>Reference to the final compiled content. The build work is not required to complete before returning. Therefore, this file may not be up to date when BuildAsset returns but it will be available for loading by the game at runtime.</returns> /// <remarks>An example of usage for BuildAsset is being called by a mesh processor to request that any related textures used are also built, replacing the original TGA file references with new references to the converted texture files.</remarks> public abstract ExternalReference <TOutput> BuildAsset <TInput, TOutput>( ExternalReference <TInput> sourceAsset, string processorName, OpaqueDataDictionary processorParameters, string importerName, string assetName );
/// <summary> /// Initiates a nested build of an additional asset. /// </summary> /// <typeparam name="TInput">Type of the input.</typeparam> /// <typeparam name="TOutput">Type of the output.</typeparam> /// <param name="sourceAsset">Reference to the source asset.</param> /// <param name="processorName">Optional processor for this content.</param> /// <returns>Reference to the final compiled content. The build work is not required to complete before returning. Therefore, this file may not be up to date when BuildAsset returns but it will be available for loading by the game at runtime.</returns> /// <remarks>An example of usage for BuildAsset is being called by a mesh processor to request that any related textures used are also built, replacing the original TGA file references with new references to the converted texture files.</remarks> public ExternalReference <TOutput> BuildAsset <TInput, TOutput>( ExternalReference <TInput> sourceAsset, string processorName ) { return(BuildAsset <TInput, TOutput>(sourceAsset, processorName, null, null, null)); }