useProgram(program, frameState) {
    this.disableAllAttributes_();
    const gl = this.gl_;
    gl.useProgram(program);
    this.currentProgram_ = program;
    if (frameState) {
      this.applyFrameState(frameState);
      this.applyUniforms(frameState);
    }
  }
Set up a program for use. The program will be set as the current one. Then, the uniforms used
in the program will be set based on the current frame state and the helper configuration.
@param {WebGLProgram} program Program.
@param {import("../Map.js").FrameState} [frameState] Frame state.