The scaling mode.
Defined in <SDL3/SDL_surface.h>
typedef enum SDL_ScaleMode
{1,
SDL_SCALEMODE_INVALID = -/**< nearest pixel sampling */
SDL_SCALEMODE_NEAREST, /**< linear filtering */
SDL_SCALEMODE_LINEAR, /**< nearest pixel sampling with improved scaling for pixel art */
SDL_SCALEMODE_PIXELART } SDL_ScaleMode;
This enum is available since SDL 3.2.0.