Microsoft C# Direct3D Tutorial 1 Creating a Device

Microsoft C# Direct3D Tutorial 1 Creating a DeviceThis is preliminary documentation and is subject to change. The CreateDevice tutorial project initializes Microsoft® Direct3D®, renders a simple blue screen, and eventually shuts down.

Creating an Application Window
The first thing any Microsoft® Windows® application must do when run is to create an application window. To do this, the first call in the Main() function of the following sample code is to the constructor of an application-defined CreateDevice class that sets the size of the display window, the caption of the window, and the window icon. CreateDevice is created from the System.Windows.Forms.Form class used in the Microsoft .NET Framework to represent a window in an application.

Initializing the Direct3D Object
After you create the application window, you are ready to initialize the Direct3D object that you will use to render the scene. This process includes creating the object, setting the presentation parameters, and finally creating the Direct3D device.

Website: www.miszalok.de | Filesize: 72kb
No of Page(s): 2
Click here to download Microsoft C# Direct3D Tutorial 1 Creating a Device.

Related Tutorial

Tags: , , ,

Comments

Leave a Reply