Added new example showing offscreen rendering

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