[Add] All in one shader

This commit is contained in:
2026-02-23 22:01:07 +07:00
parent ec0aa86ac2
commit 4f942cd7c0
806 changed files with 401510 additions and 33 deletions
@@ -0,0 +1,49 @@
using System.Collections.Generic;
namespace AllIn13DShader
{
public class EffectPropertyAttributeData
{
public string parentEffectID;
public List<string> keywords;
public List<string> incompatibleWithKws;
public List<string> propertyKeywords;
public List<string> keywordsDisplayNames;
public bool allowReset;
public KeywordsOp keywordsOp;
public EffectPropertyAttributeData()
{
parentEffectID = string.Empty;
keywords = new List<string>();
incompatibleWithKws = new List<string>();
propertyKeywords = new List<string>();
keywordsDisplayNames = new List<string>();
allowReset = true;
keywordsOp = KeywordsOp.OR;
}
public void AddKeyword(string keyword)
{
this.keywords.Add(keyword);
}
public void AddIncompatibleKeyword(string keyword)
{
this.incompatibleWithKws.Add(keyword);
}
public void AddPropertyKeyword(string propertyKeyword)
{
this.propertyKeywords.Add(propertyKeyword);
}
public void AddPropertyKeywords(string[] propertyKeywords)
{
for(int i = 0; i < propertyKeywords.Length; i++)
{
AddPropertyKeyword(propertyKeywords[i].Trim());
}
}
}
}