invalidateSubFramebuffer method

void invalidateSubFramebuffer(
  1. GLenum target,
  2. JSArray<JSNumber> attachments,
  3. GLint x,
  4. GLint y,
  5. GLsizei width,
  6. GLsizei height,
)

The WebGL2RenderingContext.invalidateSubFramebuffer() method of the WebGL 2 API invalidates portions of the contents of attachments in a framebuffer.

Implementation

external void invalidateSubFramebuffer(
  GLenum target,
  JSArray<JSNumber> attachments,
  GLint x,
  GLint y,
  GLsizei width,
  GLsizei height,
);