Is it possible to determine that the scene changes are rendered completely?

Hi,

I want to stop render loop after the scene has been completely refreshed after adding (or removing) some nodes to scene-graph. Is it possible to determine that the scene is rendered at full in regards with all the recent changes?

Thanks

You can use scene.executeWhenReady to know that everything is ready for the scene to be rendered fully. In your case, I think you would need to wait for the next frame to be rendered to be sure the current display is updated.

1 Like

Thank you! This is exactly what I need.