bindAttribute(buffer, attributeName, size) {
    const gl = this.getGL();
    this.bindBuffer(buffer);
    const index = this.getAttributeLocation(attributeName);
    gl.enableVertexAttribArray(index);
    gl.vertexAttribPointer(index, size, gl.FLOAT, false, 0, 0);
  }
Set up an attribute array buffer for use in the vertex shader.
@param {import("./Buffer").default} buffer The buffer.
@param {string} attributeName The attribute name.
@param {number} size The number of components per attribute vertex.