SceneTreeFTI faster access to Node children

This commit is contained in:
lawnjelly
2025-05-09 20:47:19 +01:00
parent 4a44078451
commit cbd6c8d561
2 changed files with 13 additions and 4 deletions

View File

@@ -47,6 +47,8 @@ SAFE_NUMERIC_TYPE_PUN_GUARANTEES(uint32_t)
class Node : public Object {
GDCLASS(Node, Object);
friend class SceneTreeFTI;
protected:
// During group processing, these are thread-safe.
// Outside group processing, these avoid the cost of sync by working as plain primitive types.