The major platforms do use the same graphics API, Vulkan. It should be preferred due to more low-level access and wider platform support (Linux, Android, Nintendo, MacOS, Windows).
On another note, problems that keep major AAA games from running on Linux (Anti-cheat solutions for example) will block many games from running ob MacOS, too.