|
Size: 1188
Comment: Adding a remark that rotation is actually possible now
|
Size: 1206
Comment: Change searches to include currently excluded pages.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 29: | Line 29: |
| <<FullSearchCached(category:CategoryEnum CategoryRender -SGEnumerations)>> | <<FullSearchCached(category:CategoryEnum CategoryRender -title:SGEnumerations)>> |
| Line 32: | Line 32: |
| <<FullSearchCached(category:CategoryStruct CategoryRender -SGStructures)>> | <<FullSearchCached(category:CategoryStruct CategoryRender -title:SGStructures)>> |
| Line 35: | Line 35: |
| <<FullSearchCached(category:CategoryRender -CategoryEnum -CategoryStruct -SGFunctions)>> | <<FullSearchCached(category:CategoryRender -CategoryEnum -CategoryStruct -title:SGFunctions)>> |
2D Accelerated Rendering
Include File(s): SDL_render.h
Introduction
This category contains functions for 2D accelerated rendering.
This API supports the following features:
- single pixel points
- single pixel lines
- filled rectangles
- texture images
All of these may be drawn in opaque, blended, or additive modes.
The texture images can have an additional color tint or alpha modulation applied to them, and may also be stretched with linear interpolation, rotated or flipped/mirrored.
For advanced functionality like particle effects or actual 3d you should use SDL's OpenGL/Direct3D support or one of the many good 3D engines.
Enumerations
Structures
Functions
- SDL_ComposeCustomBlendMode
- SDL_CreateRenderer
- SDL_CreateSoftwareRenderer
- SDL_CreateTexture
- SDL_CreateTextureFromSurface
- SDL_CreateWindowAndRenderer
- SDL_DestroyRenderer
- SDL_DestroyTexture
- SDL_GL_BindTexture
- SDL_GL_UnbindTexture
- SDL_GetNumRenderDrivers
- SDL_GetRenderDrawBlendMode
- SDL_GetRenderDrawColor
- SDL_GetRenderDriverInfo
- SDL_GetRenderTarget
- SDL_GetRenderer
- SDL_GetRendererInfo
- SDL_GetRendererOutputSize
- SDL_GetTextureAlphaMod
- SDL_GetTextureBlendMode
- SDL_GetTextureColorMod
- SDL_LockTexture
- SDL_QueryTexture
- SDL_RenderClear
- SDL_RenderCopy
- SDL_RenderCopyEx
- SDL_RenderDrawLine
- SDL_RenderDrawLines
- SDL_RenderDrawPoint
- SDL_RenderDrawPoints
- SDL_RenderDrawRect
- SDL_RenderDrawRects
- SDL_RenderFillRect
- SDL_RenderFillRects
- SDL_RenderGetClipRect
- SDL_RenderGetIntegerScale
- SDL_RenderGetLogicalSize
- SDL_RenderGetScale
- SDL_RenderGetViewport
- SDL_RenderIsClipEnabled
- SDL_RenderPresent
- SDL_RenderReadPixels
- SDL_RenderSetClipRect
- SDL_RenderSetIntegerScale
- SDL_RenderSetLogicalSize
- SDL_RenderSetScale
- SDL_RenderSetViewport
- SDL_RenderTargetSupported
- SDL_SetRenderDrawBlendMode
- SDL_SetRenderDrawColor
- SDL_SetRenderTarget
- SDL_SetTextureAlphaMod
- SDL_SetTextureBlendMode
- SDL_SetTextureColorMod
- SDL_UnlockTexture
- SDL_UpdateTexture
- SDL_UpdateYUVTexture
