Firstborn/Library/PackageCache/com.unity.render-pipelines..../Editor/Converter/RunItemContext.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

31 lines
976 B
C#

namespace UnityEditor.Rendering.Universal.Converters
{
/// <summary>
/// A structure needed for the conversion part of the converter.
/// This holds the item that is being converted.
/// </summary>
internal struct RunItemContext
{
ConverterItemInfo m_Item;
/// <summary> The item that will go through the conversion code. </summary>
public ConverterItemInfo item => m_Item;
/// <summary> A bool to set if this item failed to convert. </summary>
public bool didFail { get; set; }
/// <summary> Info to store data to be shown in the UI. </summary>
public string info { get; set; }
internal bool hasConverted { get; set; }
/// <summary> Constructor for the RunItemContext. </summary>
public RunItemContext(ConverterItemInfo item)
{
m_Item = item;
didFail = false;
info = "";
hasConverted = false;
}
}
}