I'm using OpenTK and am trying to render to an FBO texture as per the tutorial here:


This example uses immediate mode to draw triangles to the texture but I'd like to use VBO. I'm very new to OpenGL and have my rendering working using VBO but I don't know how to replace the random triangle rendering in this tutorial with DrawElements using VBO.

Does anyone know of a tutorial which uses VBO to render to a FBO?