Direct3D 11 Tutorials
A series of tutorials demonstrating the initialization and basic use of Direct3D 11.
This tutorial is the start of the series explaining and demonstrating the use of Direct3D 11 via SlimDX. Readers are expected to know how to use their chosen .NET language and IDE before attempting to understand these tutorials, as language concepts will not be explained. The first tutorial will deal with getting a SlimDX project set up and ready to go, and will then explain the process of initializing a window and launching a rendering loop.
In this second tutorial, we give an overview of the Direct3D 11 graphics device and show how to initialize it properly for rendering. The Device object is the primary means of communicating with a virtual graphics adapter installed on the system, and will be used for all resource creation and the final rendering of 3D primitives. The sample will conclude by showing how to use the device to clear the background to a solid color.
Rendering primitives is the raison d’être of a 3D graphics API. This tutorial explains the process of supplying Direct3D with primitive data and ensuring that the entire graphics pipeline is properly configured so as to produce visual evidence of the primitives on the screen. By the end a single rendered triangle will be visible on screen.