Microsoft has moved away from providing samples in SDKs for a number of reasons, but primarily to reduce the size of the standalone downloads and to minimize the size of the SDKs when included in other products (such as the Windows 8.x SDK being included with VS 2012 and VS 2013). The MSDN Code Gallery provides an online repository for samples, including both official Microsoft samples as well as community contributions. Here’s a list of the samples from the legacy DirectX SDK (June 2010) and their locations online if available.
The majority of these samples are Win32 desktop applications. Where applicable, the table also notes similar samples for Windows Store apps on Windows 8.x.
Direct3D 11 Tutorials | Tutorial01 - 07 Windows Store apps version: Tutorial08-10 |
AdaptiveTessellationCS40 FluidCS11 HDRToneMappingCS11 NBodyGravityCS11 OIT11 | DirectCompute Graphics Win32 Samples Windows Store app samples: |
BasicCompute11 ComputeShaderSort11 | DirectCompute Basic Win32 Samples |
BasicHLSL11 EmptyProject11 SimpleSample11 | |
BasicHLSL10 DynamicShaderLinkageFX11 FixedFuncEMU | These samples make use of the Effects 11 (FX11) library. |
BC6HBC7EncoderDecoder11 | BC6H/BC7 DirectCompute Encoder Tool (Win32) Note this functionality is also present in the latest DirectXTex. |
CascadedShadowMaps11 VarianceShadows11 | Windows Store app samples: |
DDSWithoutD3DX DDSWithoutD3DX11 | An updated version of this sample is posted here. The DDSTextureLoader for Direct3D 11 from this sample is available in both DirectXTK and DirectXTex. |
DynamicShaderLinkage11 | |
MultithreadedRendering11 | |
SimpleBezier11 SubD11 | |
Misc ContentExporter | |
CoreDetection | Core Detection Sample (Win32) |
D3D11InstallHelper | Direct3D 11 Install Helper (Win32) |
FirewallInstallHelper | Windows Firewall Install Helper (Win32) |
GameuxInstallHelper | Gameux Install Helper (Win32 |
VideoMemory | DirectX Video Memory (Win32) |
XInput | XInput 1.4 is only supported on Windows 8.x. XInput 1.3 is only available in the DirectX SDK. See XINPUT and Windows 8 for more information. Windows Store samples: |
XAudio2 | XAudio 2.8 is only supported on Windows 8.x. XAudio 2.7 is only available in the DirectX SDK. See XAudio2 and Windows 8 for more information. Windows Store app samples: |
DirectInput Customformat | DirectInput Samples (Win32) Keyboard and Mouse samples are not included as use of DirectInput for these scenarios is not recommended. |
DirectShow | A list of Windows 7.x SDK DirectShow samples is available on MSDN. |
Vendor Samples
DepthOfField10.1 HDAO10.1 TransparencyAA10.1 ContactHardeningShadows11 DetailTessellation11 PNTriangles11 |
Retired Samples
Direct3D9 | The Direct3D 9 samples require D3DX9, so these remain available only in the DirectX SDK. |
DirectDraw | The DirectX SDK 8.1 was the last to contain the DirectDraw samples. |
DirectMusic DirectPlay | DirectX 9.0b (Summer 2003) was the last release of the DirectMusic or DirectPlay samples. |
DirectSound | The DirectX SDK (November 2007) release was the last time the DirectSound samples were shipped. |
Managed DirectX 1.1 | The DirectX SDK (August 2006) release was the last time the C# samples for legacy Managed DirectX 1.1 were shipped |
XACT | The DirectX SDK (June 2010) contains the last release of XACT and related samples. |
Related:DXUT for Win32 Desktop Update, Living without D3DX
Image may be NSFW.Clik here to view.