3 ms·
Does anyone know why DirectX 11 is so much better than DirectX 9? Looks like they were using some kind of translation layer that was translating DX9 calls to O
by jannes 7y ago
Does anyone know why DirectX 11 is so much better than DirectX 9?
Looks like they were using some kind of translation layer that was translating DX9 calls to OpenGL.
- monocasa 7y agoDirectX9 is ancient, like somewhere between an original Xbox and an Xbox 360 in features. It's very difficult to use any modern graphics techniques with it. DirectX 11 is the most recent version of that classic style of graphics APIs, with DX12 being to DX11 sort of what Vulkan is to OpenGL. If I had a legacy DX9 codebase and I wanted to use some features of newer GPUs than what existed in 2002, I would convert over to DX11.
- kevingadd 7y agoMore modern programming interface that matches the hardware better. Newer shader model support + newer shader compiler Newer/more powerful debugging tools Access to large new features like compute shaders, texture arrays, uniform buffers, etc Access to new surface formats to enable features like VR and HDR Better API performance + access to performance-enabling features like multi-threading Direct3D 9 is nearly 20 years old. OpenGL has at least been receiving new extensions on a regular basis (though people are finally shifting to Vulkan) - with the exception of a few things shoved in by driver vendors via back doors, D3D9 has not changed at all. Driver compatibility for D3D9 is also very bad at this point - the driver vendors don't give a shit about breaking existing software that uses it. I still occasionally hit driver bugs when working on old code that targets 9. Code targeting 11 will have fewer problems.