Skip to content

cf_draw_peek_alpha_discard

Category: draw
GitHub: cute_draw.h


Returns the current alpha discard state.

bool cf_draw_peek_alpha_discard(void);

Remarks

Alpha discarding is useful to throw away pixels with zero alpha, for cutouts or as an optimization, or for certain blending techniques.

cf_draw_push_alpha_discard
cf_draw_pop_alpha_discard