You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
511 B

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; }
}
}