DirectX SDK |
This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.
The StencilDepth sample shows how to use a stencil buffer to visualize the depth complexity of a scene.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\StencilDepth
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\StencilDepth.exe
Press F1 to see available commands, or choose from the menu.