Wiki Page Content

Differences between revisions 16 and 17
Revision 16 as of 2009-11-24 05:18:05
Size: 1077
Editor: SheenaSmith
Comment:
Revision 17 as of 2009-11-24 05:21:25
Size: 1008
Editor: SheenaSmith
Comment: remove comment
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

/* see [[SDL_CreateRenderer]] page for Include function syntax */

SDL_RendererFlags

Flags used when creating a rendering context.

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