And all the graphics stacks nowadays are similar, Vulkan, Metal, DX12, all share the same ideas
Also there are countless opensource cross platform GPU libs, bgfx [1] or sokol [2] for example
[1] - https://github.com/bkaradzic/bgfx
[2] - https://github.com/floooh/sokol