cf_draw_push_tri_colors¶
Category: draw
GitHub: cute_draw.h
Pushes per-vertex colors for triangle drawing.
| Parameters | Description |
|---|---|
c0 |
Color for the first vertex (p0). |
c1 |
Color for the second vertex (p1). |
c2 |
Color for the third vertex (p2). |
Remarks¶
When active, triangles drawn with cf_draw_tri_fill will interpolate colors across the triangle surface between c0, c1, and c2 at vertices p0, p1, and p2. This only works when chubbiness is 0 and antialiasing is disabled.
Related Pages¶
cf_draw_tri_fill
cf_draw_pop_tri_colors
cf_draw_peek_tri_colors