We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b3346e + bdf4a37 commit f9d24c4Copy full SHA for f9d24c4
Editor/Scriptables/Variable.cs
@@ -83,6 +83,8 @@ public string GetDefinition()
83
return $"UNITY_DECLARE_TEXCUBEARRAY({Name});";
84
case VariableType.UnityTexCubeArrayNoSampler:
85
return $"UNITY_DECLARE_TEXCUBEARRAY_NOSAMPLER({Name});";
86
+ case VariableType.Int:
87
+ return $"int {Name};";
88
case VariableType.Custom:
89
return $"{CustomType} {Name};";
90
}
@@ -144,6 +146,7 @@ public enum VariableType
144
146
UnityTex2DArrayNoSampler,
145
147
UnityTexCubeArray,
148
UnityTexCubeArrayNoSampler,
149
+ Int,
150
Custom = 999
151
152
0 commit comments