invalidateFramebuffer method

void invalidateFramebuffer(
  1. GLenum target,
  2. JSArray<JSNumber> attachments
)

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

Implementation

external void invalidateFramebuffer(
  GLenum target,
  JSArray<JSNumber> attachments,
);