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

posted on 2016-02-11 22:17  cutepig  阅读(312)  评论(0编辑  收藏  举报

导航