The `WebGLBuffer` class API was changed in order to allow populating the internal array in different ways.