我可以使用DirectX和C#开发Windows通用应用程序吗

编程入门 行业动态 更新时间:2024-10-24 02:26:08
本文介绍了我可以使用DirectX和C#开发Windows通用应用程序吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经看到在Visual C ++中有一个模板可以这样做,但是在C#中却没有。我必须坚持使用C ++来开发Direct X(通用)应用程序吗?

I've seen that there is a template to do so in Visual C++, but not in C#. Have I to stick to C++ to develop a Direct X (Universal) application ??

我可以使用C#吗?如果是,怎么办?

Can I use C#? If so, how?

推荐答案

我必须坚持使用C ++来开发Direct X(通用) )应用程序?

Have I to stick to C++ to develop a Direct X (Universal) application?

从技术上讲,您可以通过互操作技术在.NET平台中使用DirectX。 SharpDX为您完成了此类工作,您可以在.NET项目(包括Window 8.1和Windows Phone 8.1应用程序项目)中轻松使用DX。但是,正如我刚刚测试的那样,SharpDX尚不支持Windows Universal App。

Technically, you can use the DirectX in .NET platform by using the interop technology. SharpDX has done such kind of things for you and you can easily use the DX in you .NET project including the Window 8.1 and Windows Phone 8.1 app project. However, as I just tested, the SharpDX has not supported the Windows Universal App yet.

更多推荐

我可以使用DirectX和C#开发Windows通用应用程序吗

本文发布于:2023-11-15 16:36:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1596148.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可以使用   应用程序   DirectX   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!