Sample Framework for DirectX 9.0 for Managed Code


The sample framework is a layer used by most of the Microsoft Direct3D samples and is built on top of the Microsoft Windows application programming interface (API) and the Direct3D API. Its goal is to make Direct3D samples, prototypes, and tools as well as professional games more robust and easier to build. It simplifies the Windows and Direct3D APIs for typical usage and is designed to help make simple to moderately complex Direct3D applications.

Using the Sample Framework

The Microsoft DirectX 9.0 for Managed Code sample framework is included in the DirectX software development kit (SDK) as C# source files that you can include in your application. They are located in the following directory:

(SDK root)\Samples\Managed\Common

To include the functionality of the sample framework in an application you can either start your application with the EmptyProject Direct3D Sample or do the following:

For documentation on the API elements provided by the framework, see Sample Framework Reference.

Related Topics


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center