docs: @Override
    public void glVertexAttribPointer(int arrayId, int size, int type, boolean normalize,
                                                int byteStride, Buffer nioBuffer) {
  
      VertexAttribArrayState data = vertexAttribArrayState[arrayId];
  
  //    HtmlPlatform.log.info("glVertexAttribPointer Data size: " + nioBuffer.remaining());
      useNioBuffer |= 1 << arrayId;
      data.nioBuffer = nioBuffer;
      data.nioBufferPosition = nioBuffer.position();
      data.nioBufferLimit = nioBuffer.limit();
      data.size = size;
      data.type = type;
      data.normalize = normalize;
      data.stride = byteStride == 0 ? size * getTypeSize(type) : byteStride;
    }