code: func (t Texture) ReplaceRegion(region Region, level int, pixelBytes unsafe.Pointer, bytesPerRow int) {
  	r := region.c()
  	C.Texture_ReplaceRegion(t.texture, r, C.uint_t(level), pixelBytes, C.uint_t(bytesPerRow))
  }
docs: // ReplaceRegion copies a block of pixels from the caller's pointer into the storage allocation for slice 0 of a texture.
  //
  // Reference: https://developer.apple.com/documentation/metal/mtltexture/1515464-replaceregion