mebuffer(gl.FRAMEBUFFER, xrFramebuffer);
          gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, glLayer.colorTexture, 0);
          gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.DEPTH_ATTACHMENT, gl.TEXTURE_2D, glLayer.depthStencilTexture, 0);
          views.push(new WebXRView(view, glLayer, viewport));
        }
        scene.drawViewArray(views);
      }
      scene.endFrame();
    }

    initXR();
  </script>
</body>

</html>