t
Loading...
Searching...
No Matches
t::Fragment Struct Reference

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.
 

Detailed Description

The fragment class.

A fragment contains data generated during the rasterization process for each pixel that a primitive (e.g. triangle) covers.


The documentation for this struct was generated from the following file: