SDL Wiki


A hint that specifies scaling quality.


0 or nearest

nearest pixel sampling

1 or linear

linear filtering (supported by OpenGL and Direct3D)

2 or best

anisotropic filtering (supported by Direct3D)


By default nearest pixel sampling is used.


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

CategoryDefine, CategoryHints

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.