Fragments

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

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