|
t
|
The fragment class. More...
#include <Fragment.hpp>
Public Member Functions | |
| bool | operator< (const Fragment &b) const |
The less-than comparison for fragments, used for ordered sets in Rasterizer to sort fragments by their x coordinates. | |
Public Attributes | |
| int | x |
| The x coordinate of the fragment in screen space. | |
| int | y |
| The y coordinate of the fragment in screen space. | |
The fragment class.
A fragment contains data generated during the rasterization process for each pixel that a primitive (e.g. triangle) covers.