How to listen for events of mesh rendering completion

I create a scene and add mesh, expect to do something after render complete. How can I listen the event?

code as follow:

There are callbacks on Object3D level that you can maybe use. Try it with Object3D.onAfterRender(). This callback is executed when the objects was rendered within a single frame.

3 Likes