Rename RenderingServer global shader uniform methods to be more explicit
The `global_shader_uniform` name is longer, but it makes it much easier to find the methods when searching in the class reference.
This commit is contained in:
parent
2e05cc3314
commit
4b42379c8f
45 changed files with 532 additions and 532 deletions
|
|
@ -869,7 +869,7 @@ public:
|
|||
};
|
||||
static bool has_builtin(const HashMap<StringName, ShaderLanguage::FunctionInfo> &p_functions, const StringName &p_name);
|
||||
|
||||
typedef DataType (*GlobalVariableGetTypeFunc)(const StringName &p_name);
|
||||
typedef DataType (*GlobalShaderUniformGetTypeFunc)(const StringName &p_name);
|
||||
|
||||
struct FilePosition {
|
||||
String file;
|
||||
|
|
@ -887,7 +887,7 @@ private:
|
|||
|
||||
static const KeyWord keyword_list[];
|
||||
|
||||
GlobalVariableGetTypeFunc global_var_get_type_func = nullptr;
|
||||
GlobalShaderUniformGetTypeFunc global_shader_uniform_get_type_func = nullptr;
|
||||
|
||||
bool error_set = false;
|
||||
String error_str;
|
||||
|
|
@ -1113,7 +1113,7 @@ public:
|
|||
Vector<ModeInfo> render_modes;
|
||||
VaryingFunctionNames varying_function_names = VaryingFunctionNames();
|
||||
HashSet<String> shader_types;
|
||||
GlobalVariableGetTypeFunc global_variable_type_func = nullptr;
|
||||
GlobalShaderUniformGetTypeFunc global_shader_uniform_type_func = nullptr;
|
||||
bool is_include = false;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue