CF_DrawFilterMode¶
Category: draw
GitHub: cute_draw.h
Filter modes for the draw system's texture sampling.
Values¶
| Enum | Description |
|---|---|
CF_DRAW_FILTER_NEAREST |
Nearest-neighbor filtering. Good for pixel art. Uses hardware nearest. |
CF_DRAW_FILTER_LINEAR |
Linear (bilinear) filtering. Uses hardware linear. |
CF_DRAW_FILTER_SMOOTH |
Smooth filtering. Uses hardware linear combined with a shader-based smooth UV interpolation. |
Related Pages¶
cf_draw_peek_filter
cf_draw_filter_mode_to_string
cf_draw_push_filter
cf_draw_pop_filter