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
- 上一篇 插座.
- 下一篇 疯了,今天村里一位亲戚问我能不能帮他介绍工作