/Engine/Source/Runtime/Engine/Public/Rendering/Texture2DResource.h
Returns mip size in bytes; fills OutPitch
static uint32 CalculateTightPackedMipSize ( int32 SizeX, int32 SizeY, EPixelFormat PixelFormat, uint32 & OutPitch )