You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +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:
@@ -2098,7 +2098,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||
// able to load resources, load the global shader variables.
|
||||
// If running on editor, don't load the textures because the editor
|
||||
// may want to import them first. Editor will reload those later.
|
||||
rendering_server->global_variables_load_settings(!editor);
|
||||
rendering_server->global_shader_uniforms_load_settings(!editor);
|
||||
}
|
||||
|
||||
_start_success = true;
|
||||
@@ -3011,7 +3011,7 @@ void Main::cleanup(bool p_force) {
|
||||
RenderingServer::get_singleton()->sync();
|
||||
|
||||
//clear global shader variables before scene and other graphics stuff are deinitialized.
|
||||
rendering_server->global_variables_clear();
|
||||
rendering_server->global_shader_uniforms_clear();
|
||||
|
||||
if (xr_server) {
|
||||
// Now that we're unregistering properly in plugins we need to keep access to xr_server for a little longer
|
||||
|
||||
Reference in New Issue
Block a user