diff options
author | Stuart Carnie <stuart.carnie@gmail.com> | 2024-10-30 08:27:16 +1100 |
---|---|---|
committer | Stuart Carnie <stuart.carnie@gmail.com> | 2024-10-30 08:36:45 +1100 |
commit | 0d1d94572750b624e10aa6e655011e37028fa1c5 (patch) | |
tree | 83b165b8402b654c2e4d1b99ee4184bd7aca57ab /servers/rendering_server.cpp | |
parent | 748f4079e387fb555ee64c1619e94ba099bfa77a (diff) | |
download | redot-engine-0d1d94572750b624e10aa6e655011e37028fa1c5.tar.gz |
2D: Fix various issues and minor performance optimisations
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 53dda24dc3..1008d5706e 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -3569,6 +3569,7 @@ void RenderingServer::init() { 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); + GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/2d/batching/uniform_set_cache_size", PROPERTY_HINT_RANGE, "256,1048576,1"), 256); // 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); |