res-avatar-unity/Assets/_PoiyomiShaders/Scripts/Editor/ModularShaderSystem/Scriptables/ShaderFunction.cs
2023-07-15 19:51:23 -07:00

25 lines
776 B
C#
Executable file

using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
namespace Poiyomi.ModularShaderSystem
{
[Serializable]
public class ShaderFunction
{
public string Name;
public string AppendAfter;
[FormerlySerializedAs("Priority")] public short Queue = 100;
public TemplateAsset ShaderFunctionCode;
public List<Variable> UsedVariables;
[FormerlySerializedAs("VariableSinkKeywords")] [FormerlySerializedAs("VariableSinkKeyword")] public List<string> VariableKeywords;
[FormerlySerializedAs("CodeSinkKeywords")] [FormerlySerializedAs("CodeSinkKeyword")] public List<string> CodeKeywords;
}
}