cf_draw_push_sprite_edge¶
Category: draw
GitHub: cute_draw.h
Pushes the sprite edge mode used by subsequent sprite draws.
| Parameters | Description |
|---|---|
edge |
The edge mode to use. See CF_SpriteEdge. Default is CF_SPRITE_EDGE_SOFT. |
Remarks¶
This is a CPU-side property of each sprite's geometry, so mixing modes within a frame costs nothing extra -- it won't split batches the way cf_draw_push_filter does. Applies to cf_draw_sprite and the 9-slice draws; text is unaffected, since glyphs carry their own padding from the font rasterizer.
Related Pages¶
CF_SpriteEdge
cf_sprite_edge_to_string
cf_draw_peek_sprite_edge
cf_draw_pop_sprite_edge