https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer
WebGL2RenderingContext: invalidateSubFramebuffer() method - Web APIs | MDN
The WebGL2RenderingContext.invalidateSubFramebuffer() method of the WebGL 2 API invalidates portions of the contents of attachments in a framebuffer.
web apismethodmdn