summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2023-12-05 16:48:01 -0700
committerclayjohn <claynjohn@gmail.com>2023-12-06 14:39:33 -0700
commit528b4a3283359f5688059e7f07ae935348514b03 (patch)
tree14c55c57b7346d22e2603a109dc9d393af053f82 /servers/rendering_server.cpp
parent2f73a059cefadcd944b6874f2557ec82e46a562d (diff)
downloadredot-engine-528b4a3283359f5688059e7f07ae935348514b03.tar.gz
Implement render info counters for the 2D renderer
This provides information for the debug monitors
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r--servers/rendering_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index 763989fdd4..5a64a635a1 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -2848,6 +2848,7 @@ void RenderingServer::_bind_methods() {
BIND_ENUM_CONSTANT(VIEWPORT_RENDER_INFO_TYPE_VISIBLE);
BIND_ENUM_CONSTANT(VIEWPORT_RENDER_INFO_TYPE_SHADOW);
+ BIND_ENUM_CONSTANT(VIEWPORT_RENDER_INFO_TYPE_CANVAS);
BIND_ENUM_CONSTANT(VIEWPORT_RENDER_INFO_TYPE_MAX);
BIND_ENUM_CONSTANT(VIEWPORT_DEBUG_DRAW_DISABLED);