bindXRFramebuffer method

dynamic bindXRFramebuffer(
  1. dynamic framebuffer
)

Implementation

bindXRFramebuffer(framebuffer) {
  if (framebuffer != xrFramebuffer) {
    gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);

    xrFramebuffer = framebuffer;
  }
}