summaryrefslogtreecommitdiff
path: root/VRCSDK3AvatarsLegacy/Assets/_PoiyomiShaders/Scripts/Editor/ModularShaderSystem/Scriptables/ModularShader.cs
blob: ec6cc473a61276754b96f4b2c6d4f2eccecaa09f (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System.Collections.Generic;
using UnityEngine;

namespace Poiyomi.ModularShaderSystem
{
    [CreateAssetMenu(fileName = "ModularShader", menuName = MSSConstants.CREATE_PATH + "/Modular Shader", order = 0)]
    public class ModularShader : ScriptableObject
    {
        public string Id;
        
        public string Name;
        
        public string Version;
        
        public string Author;
        
        public string Description;
        
        public bool UseTemplatesForProperties;
        
        public TemplateAsset ShaderPropertiesTemplate;
        
        public string ShaderPath;
        
        public TemplateAsset ShaderTemplate;
        
        public string CustomEditor;
        
        public List<Property> Properties;
        
        public List<ShaderModule> BaseModules;
        
        [HideInInspector] public List<ShaderModule> AdditionalModules;
        
        public bool LockBaseModules;
        
        public List<Shader> LastGeneratedShaders;
        
        [HideInInspector] public string AdditionalSerializedData;
    }
}