|
srp
software rendering pipeline
|
#include <line.h>

Public Attributes | |
| SRPVertexShaderOut | v [2] |
| vec3 | ss [2] |
| float | invW [2] |
| size_t | id |
Line primitive. Stores data needed for its rasterization
| size_t SRPLine::id |
ID of the primitive, starting from 0
| float SRPLine::invW[2] |
1 / clip-space W. Needed for perspective-correct interpolation
| vec3 SRPLine::ss[2] |
Vertices' positions in screen-space
| SRPVertexShaderOut SRPLine::v[2] |
Outputs of the vertex shader