Nexus/Library/PackageCache/com.unity.shadergraph@759cfc176571/Editor/Data/Graphs/IMaterialSlotSupportsLiteralMode.cs
2026-01-06 17:23:00 +01:00

13 lines
511 B
C#

namespace UnityEditor.ShaderGraph
{
/// <summary>
/// Literal mode says that the property being passed to a slot / node is a literal
/// This is used if the node internally has a conditional statement that produces a texture reference.
/// In these situations, the shader compiler requires the value being used for the switch / if to be known at compile time.
/// </summary>
internal interface IMaterialSlotSupportsLiteralMode
{
public bool LiteralMode { get; set; }
}
}