MTLTexture getBytes returning blank image
maybe you forget to call MTLBlitCommandEncoder.synchronizeTexture to sync VRAM to system memory.

please check: 
https://forums.developer.apple.com/thread/30488

and document:
https://developer.apple.com/documentation/metal/mtlblitcommandencoder/1400757-synchronize