You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user