Files
Bombaleila/Library/PackageCache/com.unity.shadergraph@c8830f61858d/Editor/Data/Graphs/IMaterialSlotSupportsLiteralMode.cs
2026-03-03 00:39:30 +05: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; }
}
}