Skip to content

cf_draw_peek_tri_attributes

Category: draw
GitHub: cute_draw.h


Returns the current per-vertex triangle attribute state.

void cf_draw_peek_tri_attributes(CF_Color* a0, CF_Color* a1, CF_Color* a2);
Parameters Description
a0 Output pointer for attributes of first vertex (can be NULL).
a1 Output pointer for attributes of second vertex (can be NULL).
a2 Output pointer for attributes of third vertex (can be NULL).

cf_draw_push_tri_attributes
cf_draw_pop_tri_attributes
cf_draw_tri_fill