Question: what is the difference between opengl and directx?
Answer: DirectX supports sound, music, input, networking, and multimedia. On the other hand, OpenGL is strictly a graphics API. ... One major difference is that OpenGL is cross-platform, and DirectX is available only on Windows and XBox. If you need to develop for more than Windows, OpenGL is the way to go.