Fragments

A fragment produced by rasterization modifies the corresponding pixel in the frame buffer only if it passes the following tests:

If it passes, the fragment's data can replace the existing frame buffer values, or you can combine it with existing data in the frame buffer, depending on the state of certain modes. You can combine the fragment with data in the frame buffer by: