Control of when to submit frame to VR

In most cases I use multiple scenes rendered one after one in each frame.
(I.e. one scene is for 3D objects, other for UI)
I found out that I can’t do that when rendering to VR device, because frame gets submitted right after first scene is rendered.

So, suggestion: maybe add a boolean autoSubmitFrame and make it true by default? That way nothing breaks and possibility of control is present.

Are you using renderer.animate( callback ) to start your animation loop?

You don’t have to use this, you can just write your own animation loop. Take a look at the code in the renderer and use it as a starting point: