General documentation queries

Hi there- thought I’d create a thread about general queries to do with SDL documentation, so that they can be fixed and/or clarified in the documentation itself.

First off:
https://wiki.libsdl.org/SDL_SetTextureAlphaMod
says that info about whether the renderer supports alpha-modding (overall texture opacity manipulation) can be found in the “mod_modes” mask in the SDL_RendererInfo struct returned by SDL_GetRendererInfo().

I fail to see a ‘mod_modes’ items in
https://wiki.libsdl.org/SDL_RendererInfo

, so where/how is the alphamod info found? And what should the documentation read?

Secondly,
I’ve seen RENDER_SCALE_QUALITY referred to in regards to texture resize quality, but it doesn’t show up in the SDL docs. Where should it be?

[EDIT second question] I see from code that render_scale_quality is under ‘SDL_SetHint’. So a better question would be, for the following hints that can be set, what are their corresponding possible values?

framebuffer_acceleration
idle_timer_disabled
orientations
render_driver
render_opengl_shaders
render_scale_quality
render_vsync

Ugh, found the ‘Category_hints’ section of the documentation.
Replies to the first question still appreciated :slight_smile:
M@

There’s a mailing list specifically for documentation so this kind of
discussion doesn’t get lost in the other stuff:
http://www.libsdl.org/mailing-list.php

Jonny DOn Sun, Feb 9, 2014 at 5:41 PM, mattbentley wrote:

Ugh, found the ‘Category_hints’ section of the documentation.
Replies to the first question still appreciated [image: Smile]
M@


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Also, I don’t know if there’ve been any large recent changes to the wiki
but there’s offline documentation available here:
http://libsdl.org/tmp/SDL-wiki.zipOn Sun, Feb 9, 2014 at 6:10 PM, Jonathan Dearborn wrote:

There’s a mailing list specifically for documentation so this kind of
discussion doesn’t get lost in the other stuff:
http://www.libsdl.org/mailing-list.php

Jonny D

On Sun, Feb 9, 2014 at 5:41 PM, mattbentley wrote:

Ugh, found the ‘Category_hints’ section of the documentation.
Replies to the first question still appreciated [image: Smile]
M@


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org