Implement vertex buffer creation.