What is the purpose of a Z-buffer in computer graphics?
a) To store the color values of pixels
b) To store the depth values of pixels
c) To store the coordinates of vertices
d) To store texture information