bindXRFramebuffer method

void bindXRFramebuffer(
  1. Framebuffer? framebuffer
)

Implementation

void bindXRFramebuffer(Framebuffer? framebuffer) {
  if (framebuffer != xrFramebuffer) {
    gl.bindFramebuffer(WebGL.FRAMEBUFFER, framebuffer);

    xrFramebuffer = framebuffer;
  }
}