Skip to content

cf_draw_push_blend

Category: draw
GitHub: cute_draw.h


Sets the blend mode for subsequent draw calls.

void cf_draw_push_blend(CF_DrawBlend blend);
Parameters Description
blend The blend mode to use. See CF_DrawBlend.

Remarks

Applies to shapes, sprites, text, and paths alike. Paint order is preserved across mode changes within a frame.

CF_DrawBlend
cf_draw_peek_blend
cf_draw_pop_blend