Add rendering functions.

We have a way to call the equivalents of glDrawArrays and glDrawElements now.
I think I will add instanced rendering later.