Graphics Reference
In-Depth Information
// display device can handle.
app.VSync = true;
// Initialize the framework (creates D3D device etc)
// and any device dependent resources are also created.
app.Initialize();
// Run the application message/rendering loop.
app.Run();
}
How it works…
The Common project includes a simple framework that consists of three main areas: the
device manager, the Direct3D application classes, and the renderer classes with a number
of classes inheriting the latter two. The following class diagram shows the relevant methods
and properties of the device manager and Direct3D base application classes. The methods
that we have overridden and their respective events are highlighted along with the Direct3D
device and context properties on the device manager.
Common project's class diagram showing the device manager and Direct3D application base
 
Search WWH ::




Custom Search