summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-12-12 10:41:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-12-12 10:41:06 +0100
commit342531597bcece932629356757b88f4ffb100446 (patch)
treed82cd51af84c2ddf17acb6ad83ee0905b7834761 /servers/rendering_server.cpp
parentd26a3f1b1478cd2ddfcae36b0e90250261a58d8a (diff)
parent528b4a3283359f5688059e7f07ae935348514b03 (diff)
downloadredot-engine-342531597bcece932629356757b88f4ffb100446.tar.gz
Merge pull request #85811 from clayjohn/2D-render-info
Implement render info counters for the 2D renderer
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 6e3368c449..b4af27c510 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -2856,6 +2856,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);