Added new example showing offscreen rendering

Ready for review but not for merging:

* [x] ~~we should make it work with any backend (only tested with glfw, doesn't work with Qt yet)~~ (for another PR...)

In another PR, we could create an easy utility routine to simplify offscreen rendering (i.e. automatic creation of FBO, screenshot, etc.).