code: function(resource, opts) {
        if (this.debugMode) log('update', { resource: resource, opts: opts })
        resource._update(this, resource, opts)
      }
docs: update(texture, { data: TypeArray, [width: Int, height: Int] }) update(texture, { data: TypedArray })