Merge pull request #109900 from Ryan-000/Make-Node-orphan_node_count-thread-safe

Make Node::orphan_node_count thread-safe
This commit is contained in:
Thaddeus Crews
2025-09-30 18:35:13 -05:00
5 changed files with 25 additions and 9 deletions

View File

@@ -154,6 +154,7 @@
</constant>
<constant name="OBJECT_ORPHAN_NODE_COUNT" value="10" enum="Monitor">
Number of orphan nodes, i.e. nodes which are not parented to a node of the scene tree. [i]Lower is better.[/i]
[b]Note:[/b] This is only available in debug mode and will always return [code]0[/code] when used in a project exported in release mode.
</constant>
<constant name="RENDER_TOTAL_OBJECTS_IN_FRAME" value="11" enum="Monitor">
The total number of objects in the last rendered frame. This metric doesn't include culled objects (either via hiding nodes, frustum culling or occlusion culling). [i]Lower is better.[/i]