let glLayer = xrSession.renderState.baseLayer;
gl.bindFrameBuffer(gl.FRAMEBUFFER, glLayer.framebuffer);
/* .. */
if (!glLayer.antialias) {
/* compensate for lack of anti-aliasing */
}XRWebGLLayer: antialias property / notebook
XRWebGLLayer: antialias property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.