mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Extract global variable, shader and material storage
This commit is contained in:
parent
fc4e9d6299
commit
36defd1179
38 changed files with 4564 additions and 4095 deletions
|
|
@ -400,6 +400,7 @@ RenderingServerDefault::RenderingServerDefault(bool p_create_thread) :
|
|||
RSG::rasterizer = RendererCompositor::create();
|
||||
RSG::canvas_texture_storage = RSG::rasterizer->get_canvas_texture_storage();
|
||||
RSG::decal_atlas_storage = RSG::rasterizer->get_decal_atlas_storage();
|
||||
RSG::material_storage = RSG::rasterizer->get_material_storage();
|
||||
RSG::texture_storage = RSG::rasterizer->get_texture_storage();
|
||||
RSG::storage = RSG::rasterizer->get_storage();
|
||||
RSG::canvas_render = RSG::rasterizer->get_canvas();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue