Improve code for setup of global_func_set in ShaderLanguage

This commit is contained in:
Yuri Rubinsky
2024-07-02 18:16:04 +03:00
parent 9db1a963be
commit 4f657f5c6d
2 changed files with 15 additions and 9 deletions

View File

@@ -800,6 +800,8 @@ public:
static bool is_control_flow_keyword(String p_keyword);
static void get_builtin_funcs(List<String> *r_keywords);
static int instance_counter;
struct BuiltInInfo {
DataType type = TYPE_VOID;
bool constant = false;