Closed kvark closed 9 years ago
Just realized we can't do this, because scene rendering calls enqueue
and flush
in succession, thus disallowing any sort of manual control...
Actually, it will work if we change gfx_scene
to reflect that. In particular, we may use the same Sort
enum there.
This PR exposes the queue, allowing the user to sort as he will.
Object
gets exposed as well, and it provides helper methods for back-to-front and front-to-back ordering.