Wiki Page Content

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.

Code Examples

You can add your code example here

Remarks

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


CategoryDefine, CategoryHints

None: SDL_HINT_RENDER_SCALE_QUALITY (last edited 2014-03-30 21:04:50 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit