Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-03-21 17:42:59
Size: 652
Editor: SheenaSmith
Comment: added remark
Revision 4 as of 2014-03-30 21:04:50
Size: 651
Comment: Removed space.
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
This hint is checked when a texture is created and it affects scaling when copying that texture.  This hint is checked when a texture is created and it affects scaling when copying that texture.

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)

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