But what exactly is that magic that OpenGL and Metal do behind the scenes?

Source: The lost art of 3D rendering without shaders