Use C-like API for vertex buffers