A game about forced loneliness, made by TACStudios
at master 1.1 kB view raw
1using System; 2using UnityEditor.Graphing; 3 4namespace UnityEditor.ShaderGraph 5{ 6 [Serializable] 7 class VirtualTextureMaterialSlot : MaterialSlot 8 { 9 public VirtualTextureMaterialSlot() 10 { } 11 12 public VirtualTextureMaterialSlot( 13 int slotId, 14 string displayName, 15 string shaderOutputName, 16 SlotType slotType, 17 ShaderStageCapability stageCapability = ShaderStageCapability.All, 18 bool hidden = false) 19 : base(slotId, displayName, shaderOutputName, slotType, stageCapability, hidden) 20 { } 21 22 public override SlotValueType valueType { get { return SlotValueType.VirtualTexture; } } 23 public override ConcreteSlotValueType concreteValueType { get { return ConcreteSlotValueType.VirtualTexture; } } 24 25 public override void AddDefaultProperty(PropertyCollector properties, GenerationMode generationMode) 26 { 27 } 28 29 public override void CopyValuesFrom(MaterialSlot foundSlot) 30 { 31 } 32 33 public override bool isDefaultValue => throw new Exception(); 34 } 35}