Added C-like API for vertex buffers