proper GL buffer allocation and attribute setup for VertexBuffer and LWModel