Question: what is the difference between directx and opengl?
Answer: The most obvious difference is that DirectX is more than just a graphics API. DirectX contains tools to deal with sound, input, networking, and multimedia. On the other hand, OpenGL is strictly a graphics API. ... Both APIs rely on the use of the traditional hardware rendering pipeline, which is based on the z buffer.