using System.Collections.Generic;
namespace UnityEditor.Rendering.Universal
{
///
/// A structure needed for the initialization step of the converter.
/// Stores data to be visible in the UI.
///
internal struct InitializeConverterContext
{
///
/// Stores the list of ConverterItemDescriptor that will be filled in during the initialization step.
///
internal List items;
///
/// A bool set to true if the converter is running in batch mode.
///
public bool isBatchMode { get; internal set; }
///
/// Add to the list of assets to be converted.
/// This will be used to display information to the user in the UI.
///
/// The item to add to the list items to convert
internal void AddAssetToConvert(ConverterItemDescriptor item)
{
items.Add(item);
}
}
}