The following topics discuss common usage scenarios for depth buffers.
What Are Depth Buffers?, Tutorial 2: Adding a Depth Buffer (C++), Tutorial 2: Adding a Depth Buffer (Visual Basic)