Depth Bits Question

Hello,

What is the meaning of the member cDepthBits in the PIXELFORMATDESCRIPTOR structure? I mean, I know this means the number of bits the depth buffer will have, but how does this affect the DepthBuffer? What is the actual diference of an 8, 16, 24 or 32 bits depth buffer?

Thanks.

Higher number of bits allows for more precision in the depth buffer, which can reduce depth-fighting artifacts.