swapBuffers method

dynamic swapBuffers()

Implementation

swapBuffers() {
  var tmp = this.readBuffer;
  this.readBuffer = this.writeBuffer;
  this.writeBuffer = tmp;
}