Microsoft Developer Network

Documentation & Resources

DirectX Programming Guide Samples

Explore a collection of sample applications and code snippets demonstrating key DirectX functionalities and best practices. These samples are designed to help you learn and implement advanced graphics and multimedia features.

Basic Vertex Shader Sample

A foundational example demonstrating how to implement and use a basic vertex shader for transforming geometry.

Category: Shaders, Geometry Processing

Texture Mapping Pipeline

Illustrates the process of applying textures to 3D models, including UV unwrapping and texture sampling.

Category: Texturing, Rendering

Lighting and Shading Model

Implement realistic lighting effects using Phong and Blinn-Phong shading models in your DirectX applications.

Category: Lighting, Shading

Compute Shader for Particle Systems

Utilize compute shaders to efficiently simulate complex particle systems and their interactions.

Category: Compute Shaders, Simulation

Post-Processing Effects

Learn to implement common post-processing effects like bloom, motion blur, and depth of field.

Category: Rendering, Post-Processing