SDL Wiki

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


[ 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.