Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2009-11-23 21:18:18
Size: 1040
Editor: SheenaSmith
Comment: attempt to add section comments 5
Revision 11 as of 2009-11-24 05:11:05
Size: 1184
Editor: SheenaSmith
Comment: change comments
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
/* fromhere */ /* link to the values section only by using the following on the related function page
<<Include(SDL_RendererFlags, , , from="== Values ==", to="== Code Examples ==")>> */
Line 19: Line 20:
/* tohere */

SDL_RendererFlags

Flags used when creating a rendering context.

SDL_RENDERER_SOFTWARE

the renderer is a software fallback

SDL_RENDERER_ACCELERATED

the renderer uses hardware acceleration

SDL_RENDERER_PRESENTVSYNC

present is synchronized with the refresh rate

SDL_RENDERER_TARGETTEXTURE

the renderer supports rendering to texture

Note that providing no flags gives priority to available SDL_RENDERER_ACCELERATED renderers.

Values

SDL_RENDERER_SINGLEBUFFER

render directly to the window, if possible

SDL_RENDERER_PRESENTCOPY

present uses a copy from back buffer to the front buffer

SDL_RENDERER_PRESENTFLIP2

present uses a flip, swapping back buffer and front buffer

SDL_RENDERER_PRESENTFLIP3

present uses a flip, rotating between two back buffers and a front buffer

SDL_RENDERER_PRESENTDISCARD

present leaves the contents of the backbuffer undefined

SDL_RENDERER_PRESENTVSYNC

present is synchronized with the refresh rate

SDL_RENDERER_ACCELERATED

the renderer uses hardware acceleration

Code Examples

You can add your code example here

Remarks

You can add useful comments here

None: SDL_RendererFlags (last edited 2013-11-17 07:06:12 by andred)

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