mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
2D: Fix various issues and minor performance optimisations
This commit is contained in:
parent
748f4079e3
commit
0d1d945727
8 changed files with 381 additions and 150 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue