Why is there no DirectX API for Linux?

前端 未结 6 818
伪装坚强ぢ
伪装坚强ぢ 2021-02-04 03:27

Upon considering the driver side implementation for DirectX API on windows systems for modern video cards I was wondering why this implementation is not available on non-windows

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-04 04:02

    AFAIK, the DirectX contains 3 parts

    • Vendor driver (provide low level API defined by DX)
    • DirectX library (use low level API defined by DX to access hardware, provide DirectX API)
    • Software (use DirectX API, ex. game)

    There are no driver providing the low level API defined by DX on linux, so even it is possible to provide the DirectX library, but it won't work without proper vendor driver, and I can't see if there is any vendor is going to create one for their hardware platform.

提交回复
热议问题