|
Size: 1063
Comment: format update
|
Size: 1136
Comment: added DRAFT to top for removal after page is edited
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT|| | |
| Line 5: | Line 6: |
| An enumeration that sets flags used when creating a rendering context. | An enumeration of flags used when creating a rendering context. |
DRAFT |
SDL_RendererFlags
An enumeration of 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
Related Structures
