diff options
author | Stuart Carnie <stuart.carnie@gmail.com> | 2024-07-30 07:23:03 +1000 |
---|---|---|
committer | Stuart Carnie <stuart.carnie@gmail.com> | 2024-09-12 05:26:06 +1000 |
commit | a657ea42f1e656695f502a0e5f50ea9e0e041c3e (patch) | |
tree | 0da577fd69c816b6d66a3938c4e012268c482541 /servers/rendering_server.cpp | |
parent | 14a7e0abb313915fc5e4f36b34f9169b1d45774c (diff) | |
download | redot-engine-a657ea42f1e656695f502a0e5f50ea9e0e041c3e.tar.gz |
2D: Add batching to RendererCanvasRenderRD
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r-- | servers/rendering_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index 1848d5602e..f354e83893 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -3548,6 +3548,7 @@ void RenderingServer::init() { GLOBAL_DEF("rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality.mobile", 0); GLOBAL_DEF(PropertyInfo(Variant::INT, "rendering/2d/shadow_atlas/size", PROPERTY_HINT_RANGE, "128,16384"), 2048); + GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/2d/batching/item_buffer_size", PROPERTY_HINT_RANGE, "128,1048576,1"), 16384); // Number of commands that can be drawn per frame. GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/gl_compatibility/item_buffer_size", PROPERTY_HINT_RANGE, "128,1048576,1"), 16384); |