Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Generation/Data/ConditionalField.cs
2024-05-06 11:45:45 -07:00

16 lines
356 B
C#

namespace UnityEditor.ShaderGraph
{
[GenerationAPI]
internal struct ConditionalField
{
public FieldDescriptor field { get; }
public bool condition { get; }
public ConditionalField(FieldDescriptor field, bool condition)
{
this.field = field;
this.condition = condition;
}
}
}