diff options
author | clayjohn <claynjohn@gmail.com> | 2023-12-05 16:48:01 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2023-12-06 14:39:33 -0700 |
commit | 528b4a3283359f5688059e7f07ae935348514b03 (patch) | |
tree | 14c55c57b7346d22e2603a109dc9d393af053f82 /servers/rendering_server.cpp | |
parent | 2f73a059cefadcd944b6874f2557ec82e46a562d (diff) | |
download | redot-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.cpp | 1 |
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); |