程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> .NET網頁編程 >> C# >> C#入門知識 >> 用C#進行DirectX開發,

用C#進行DirectX開發,

編輯:C#入門知識

用C#進行DirectX開發,


DirectX 9.0 的Manage DirectX部分包括下列九個程序集。 Microsoft.DirectX.AudioVideoPlayback.dll Microsoft.DirectX.Diagnostics.dll Microsoft.DirectX.Direct3D.dll Microsoft.DirectX.Direct3DX.dll Microsoft.DirectX.DirectDraw.dll Microsoft.DirectX.DirectInput.dll Microsoft.DirectX.DirectPlay.dll Microsoft.DirectX.DirectSound.dll Microsoft.DirectX.dll 其實有這幾個程序集就能用C#來開發DirectX應用了,就是說只要安裝了普通的DirectX 9運行庫(DirectX 9.0 End-User Runtime)就行了。 微軟推薦安裝DirectX 9.0 Developer Runtime,其實也是那幾個程序集,不過多了調試的信息。 Directx9.0 sdk for C# 並不包括任何一個版本的Runtime,也就是說沒有9個程序集。它只包括例子和文檔。 所以有兩個辦法可以解決。 1。到微軟下DirectX 9.0 Developer Runtime裝,好像有100多兆。 2。安裝普通的DirectX 9.0 Runtime,然後從全局程序集緩存中(C:\Windows\Assembly\GAC)把9個DLL考出來,可以考到C:\WINDOWS

\Microsoft.NET\Managed DirectX\v4.09.00.0900中,這是SDK建立的目錄。 另:Directx9.0 sdk for C#是為VS.NET 2002 設計的,按完會多一個項目模板,在MSDN中也會增加一個目錄。但是安到2003中兩個都不出現,微軟

又為2003的文檔出了一個補丁,內容都是一樣的大概叫DirectX 9.0b Documentation for .NET Framework 1.1 and Visual Studio .NET 2003。項

目模板可以手動改改也能用。

C# and directx的一些資料,最基本的還是微軟網站的msdn. http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000410 http://www.kuhnstall.de/tutorials/dx9sharp1.html http://www.gotdotnet.com/team/directx/ http://www.drunkenhyena.com/docs/d3d_tutorial.phtml

相關的directx9.0b sdk 在這裡下載: http://www.microsoft.com/downloads/details.aspx?FamilyId=61CDD2D4-C67E-4BDF-8BDE-99709B090ED6&displaylang=en DirectX 9.0b SDK Extras: Documentation for .NET Framework 1.1 and Visual Studio .NET 2003 This download contains a setup that will correctly install the DirectX 9.0b documentation for use with the .NET Framework 1.1 and

Visual Studio .NET 2003.

And In Codeproject:

http://www.codeproject.com/cs/media/

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved