Can I develop DirectX applications using C#
-
09-10-2019 - |
سؤال
I want to know if I can develop graphics application with DirectX using C#?
المحلول
Personally I'd recommend using SlimDX as XNA is lacking a number of features that the newer DirectX versions provide. SlimDX is a simple wrapper of unmanaged DirectX.
نصائح أخرى
Managed DirectX is no longer supported - it's been largely superceded by XNA, which mostly targets games but which I dare say could be used for other graphics-heavy apps. The XNA section of MSDN is probably your best starting point.
As Jon Skeet says Managed DirectX is no longer supported. XNA is a really good alternative however and as far as I can tell it's basically a .Net wrapper for DirectX. I've ported XNA applications to DirectX in the past and the only differences I noticed relating to graphics calls were very simple differences in syntax.