SDL_HINT_RENDER_SCALE_QUALITY

A hint that specifies scaling quality.

Values

0 or nearest

nearest pixel sampling

1 or linear

linear filtering (supported by OpenGL and Direct3D)

2 or best

anisotropic filtering (supported by Direct3D)

Default

By default nearest pixel sampling is used.

Remarks

This hint is checked when a texture is created and it affects scaling when copying that texture.


CategoryDefine, CategoryHints