code: func (bce BlitCommandEncoder) Synchronize(resource Resource) {
  	C.BlitCommandEncoder_Synchronize(bce.commandEncoder, resource.resource())
  }
docs: // Synchronize flushes any copy of the specified resource from its corresponding
  // Device caches and, if needed, invalidates any CPU caches.
  //
  // Reference: https://developer.apple.com/documentation/metal/mtlblitcommandencoder/1400775-synchronize.