(D3D) Rewrite create_vertex_buffer wrapper function