 gl.RGBA, gl.UNSIGNED_BYTE, null);

              if (this.target === "useFoveatedTexture") {
                let xrGLFactory = new XRWebGLBinding(frame.session, gl);
                if (xrGLFactory.foveateBoundTexture) {
                  xrGLFactory.foveateBoundTexture(gl.TEXTURE_2D, 1);
                }
              }

              if (this.target === "useTexture") {
                gl.bindTexture(gl.TEXTURE_2D, this.depthTexture);
                gl.texImage2D(gl.TEXTURE_2D, 0, gl.DEPTH_COMPONENT16, 