bindFramebuffer method

void bindFramebuffer(
  1. GLenum target,
  2. WebGLFramebuffer? framebuffer
)

The WebGLRenderingContext.bindFramebuffer() method of the WebGL API binds to the specified target the provided WebGLFramebuffer, or, if the framebuffer argument is null, the default WebGLFramebuffer, which is associated with the canvas rendering context.

Implementation

external void bindFramebuffer(
  GLenum target,
  WebGLFramebuffer? framebuffer,
);