Skip to content

Optimisation of nodes iteration over recurring types #76

@amasson42

Description

@amasson42

Nodes of type that will often be iterated over (IRenderable or LightNodes) should be handled differently.
The WorldNode should have a list of all of those present nodes in the scene.
Whenever a node get added or removed from a world, the world should update its lists according to the type.

The lists can be a set of shared_ptr

When nodes are added and removed from a world, they should all broadcast a signal (OnAddedToWorld, OnRemovedFromWorld)

Metadata

Metadata

Assignees

No one assigned

    Labels

    SceneRelated to the Scene graph modulefeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions