code: function() {
      for (var attribute in this.vertexBuffers) {
        var buffer = this.vertexBuffers[attribute];
        buffer.data = this[buffer.name];
        buffer.compile();
      }
  
      for (var name in this.indexBuffers) {
        var buffer = this.indexBuffers[name];
        buffer.data = this[name];
        buffer.compile();
      }
    }
docs: ### .compile()  Upload all attached buffers to the GPU in preparation for rendering. This doesn't need to be called every frame, only needs to be done when the data changes.