summaryrefslogtreecommitdiff
path: root/VRCSDK3Avatars/Assets/_PoiyomiShaders/Scripts/ModularShaderSystem/Scriptables/ShaderFunction.cs
blob: c2e9eff727f01c52f849d2599db495b3a76e5f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
    }
}