This class stores data for an attribute (such as vertex positions, face
indices, normals, colors, UVs, and any custom attributes ) associated with
a BufferGeometry, which allows for more efficient passing of data
to the GPU. See that page for details and a usage example. When working
with vector-like data, the .fromBufferAttribute( attribute, index )
helper methods on Vector2,
Vector3,
Vector4, and
Color classes may be helpful.
This buffer attribute class does not construct a VBO. Instead, it uses
whatever VBO is passed in constructor and can later be altered via the
buffer property.