direct3d
DirectX for .Net procedure
1, install DXSDK https://www.microsoft.com/en-us/download/details.aspx?id=6812
2, goto MS tutorial https://msdn.microsoft.com/en-us/library/windows/desktop/ms920749.asp
QA:
1,What's the difference between using statement and adding a reference?
2,How to add a DirectX reference in Visual Studio 2010
There is one way i have find. First you need to install DXSDK (i have June2010 and SDK for Windows 7). Go to "Add reference" dialog press "Browse" , go to somthing like this C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0
or C:\Windows\Microsoft.NET\Managed DirectX\v9.02.2904
then choose proper dll for example - Microsoft.DirectX.dll
. So you can add "using Microsoft.DirectX" directive to your project. All done.
C version tutorial
http://www.directxtutorial.com/Lesson.aspx?lessonid=11-4-2
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步