설명 없음
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.

VirtualTextureMaterialSlot.cs 1.1KB

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