Skip to content

cf_draw_push_filter

Category: draw
GitHub: cute_draw.h


Sets the texture filtering mode for the draw system.

void cf_draw_push_filter(CF_DrawFilterMode mode);
Parameters Description
mode The filter mode to use. See CF_DrawFilterMode.

Remarks

NEAREST uses hardware nearest-neighbor filtering, good for pixel art. LINEAR uses hardware bilinear filtering. SMOOTH uses hardware linear combined with shader-based smooth UV interpolation for high quality upscaling.

CF_DrawFilterMode
cf_draw_peek_filter
cf_draw_pop_filter