Checks if the specified pixel can be painted atop, but does not update the z-depth map.
Checks if the specified pixel can be painted atop, but does not update the z-depth map.
the x-coordinate of the pixel to test
the y-coordinate of the pixel to test
the z-depth to test
whether the pixel can be painted at
Copies this z-buffer into another z-buffer.
Copies this z-buffer into another z-buffer. The other z-buffer must have the same width and height.
the buffer to copy into; its contents will be replaced
the height of the buffer
If the specified pixel can be painted at the given z-depth, then the z-depth will be updated and the function returns true.
If the specified pixel can be painted at the given z-depth, then the z-depth will be updated and the function returns true.
Otherwise, the function returns false.
the x-coordinate of the pixel to test
the y-coordinate of the pixel to test
the z-depth to test
whether the pixel can be painted at
the width of the buffer
A z-buffer that measures the depth of rasterized objects. The z-buffer initializes all pixels to negative infinity; objects that are closer to the screen have higher z-depth. However, objects with positive z-depth are behind the screen.