Developer code samples

Download code samples and applications for Windows 8, Windows Phone, Microsoft Azure, Office, SharePoint, Silverlight and other products. You can also explore the Official Visual Studio C#, VB.NET, and 101 LINQ samples.New samples are added frequently in JavaScript, C++, C#, Visual Basic, and F#.
Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
393 results in directx [Clear]
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft

This sample pack includes the app code examples developed and updated using one of the universal app templates available in Microsoft Visual Studio. Each solution of a universal app code example is structured so the code example can run on both Windows 8.1 and Windows Phone 8.1
Featured
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample kit shows the same renderer implemented as both a DirectX 9 desktop app and a DirectX 11.1 Windows Store app. By comparing the two samples you can learn about the differences between Direct3D 9 and Direct3D 11.1.
5 Star
(2)
Updated 3/21/2013
Released 3/21/2013
1,885 Downloads
C++
Chuck Walbourn - MSFT
This sample provides a simple demonstration of using DirectXTK for Audio in a Win32 desktop application requiring the legacy DirectX SDK. The DirectX Tool Kit is a collection of helper classes for writing Direct3D 11 C++ code.

5 Star
(1)
Updated 10/12/2015
Released 3/1/2014
2,672 Downloads
C++
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows the same renderer as the Cube11 sample, but implemented in a DirectX 9 desktop app. By comparing the two samples, you can learn about the differences between Direct3D 9 and Direct3D 11.1.
4.3 Star
(3)
Updated 6/26/2013
Released 3/21/2013
4,453 Downloads
C++
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows the same renderer as the Cube9 sample, but implemented as a DirectX 11.1 Windows Store app. By comparing the two samples you can learn about the differences between Direct3D 9 and Direct3D 11.1.
5 Star
(1)
Updated 6/26/2013
Released 3/21/2013
3,471 Downloads
C++
razorx83
DirectX Audio (Making Audio Special FX)What is in the SampleThis sample will train you How to build your own simple audio FXHow To BuildI will tell you the lesson step by step, there is:How to play wave audio.How to mix it.DirectX Lesson
How To Buffering Audio File How To Play S
No Star
(0)
Updated 7/19/2011
Released 7/19/2011
6,127 Downloads
Mawy Rhooth
Rendering a video using DirectX in C++.Just download the sample and open it in visual studio and run the sampleDescriptionRenders the video using birmap draw using directX, which provides a smooth and  scalable rendering. The sample can be used as a library for windows presendtat
WPF, C++
No Star
(0)
Updated 6/18/2015
Released 6/18/2015
1,051 Downloads
C++
Chuck Walbourn - MSFT
This sample provides a simple demonstration of using DirectXTK for Audio in a Win32 desktop application without using the legacy DirectX SDK. The DirectX Tool Kit is a collection of helper classes for writing Direct3D 11 C++ code.

No Star
(0)
Updated 10/12/2015
Released 3/1/2014
1,697 Downloads
C++
Chuck Walbourn - MSFT
This is the DirectX SDK's Collision sample updated to use Visual Studio 2012 and the Windows SDK 8.0 without any dependencies on legacy DirectX SDK content.
No Star
(0)
Updated 10/12/2015
Released 9/22/2013
3,876 Downloads
C++
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
The Windows Developer Content DirectX game learning template sample extends the basic DirectX app template with features that help you understand DirectX and C++ as a game development environment. The template adds input, virtual controller, sound, and additional overlay support.
4.2 Star
(6)
Updated 1/7/2014
Released 11/23/2013
21,089 Downloads
C++
Official Windows platform sample

Official Windows platform sample MSFT

Official Windows platform samples are developed and tested by the Windows platform team to ensure that you have a great experience.

View samples
- Microsoft
This sample demonstrates how to build a basic 3D game using DirectX.
4.2 Star
(20)
Updated 4/2/2014
Released 9/14/2011
39,336 Downloads
C++

Couldn't find the sample you were looking for?

1 - 10 of 393 Items