bindFramebuffer method

void bindFramebuffer(
  1. int target,
  2. Framebuffer? framebuffer
)

Implementation

void bindFramebuffer(int target, Framebuffer? framebuffer){
  startCheck('bindFramebuffer');
  if(framebuffer != null){
    gl.glBindFramebuffer(target, framebuffer.id);
  }
  checkError('bindFramebuffer');
}