What is OpenGL?

is it used instead of Direct X?

Thanks
nick