Revision 1322 of "कंप्यूटर ग्राफिक्स/2013-14/प्रयोगशाला 14" on hiwikiversity== डायरेक्टएक्स9 में संक्षिप्त परिचय ==
=== अवलोकन ===
इस प्रयोगशाला में हम डायरेक्टएक्स में सरल दृश्य के बनाने और इसे के अंदर कुछ तत्वों के साथ ड्रा के विषय में कुछ सामान्य मुद्दों पर चर्चा करेंगे। कोड सी# में लिखे जाएँगे। यह बारीकी से जावा जैसा दिखता है।
=== साधारण हैलो वर्ल्ड आवेदन बनाना ===
<source lang="csharp">
[...]
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using Direct3D = Microsoft.DirectX.Direct3D;
namespace FirstDirectX
{
public class HelloDirectX : System.Windows.Forms.Form
{
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(true);
HelloDirectX frm = new HelloDirectX();
frm.Show();
Application.run(frm);
}
[...]
}
}
</source>
हर प्रबंधित DX आवेदन मूल रूप से आवश्यक:
[[Category:HI]]All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://hi.wikiversity.org/w/index.php?oldid=1322.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|