From 528b4a3283359f5688059e7f07ae935348514b03 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Tue, 5 Dec 2023 16:48:01 -0700 Subject: Implement render info counters for the 2D renderer This provides information for the debug monitors --- servers/rendering_server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'servers/rendering_server.cpp') 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); -- cgit v1.2.3