25 lines
776 B
C#
Executable file
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;
|
|
}
|
|
} |