|
Size: 1227
Comment: add search exclusions for SG pages
|
Size: 1188
Comment: Adding a remark that rotation is actually possible now
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 24: | Line 24: |
| The texture images can have an additional color tint or alpha modulation applied to them, and may also be stretched with linear interpolation. | 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. |
| Line 26: | Line 26: |
| This API is designed to accelerate simple 2D operations. You may want more functionality such as rotation and particle effects and in that case you should use SDL's OpenGL/Direct3D support or one of the many good 3D engines. |
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. |
| Line 31: | Line 29: |
| <<FullSearch(category:CategoryEnum CategoryRender -SGEnumerations)>> | <<FullSearchCached(category:CategoryEnum CategoryRender -SGEnumerations)>> |
| Line 34: | Line 32: |
| <<FullSearch(category:CategoryStruct CategoryRender -SGStructures)>> | <<FullSearchCached(category:CategoryStruct CategoryRender -SGStructures)>> |
| Line 37: | Line 35: |
| <<FullSearch(category:CategoryRender -CategoryEnum -CategoryStruct -SGFunctions)>> | <<FullSearchCached(category:CategoryRender -CategoryEnum -CategoryStruct -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_GetRenderer
- SDL_GetRendererInfo
- 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_RenderGetViewport
- SDL_RenderPresent
- SDL_RenderReadPixels
- SDL_RenderSetViewport
- SDL_SetRenderDrawBlendMode
- SDL_SetRenderDrawColor
- SDL_SetRenderTarget
- SDL_SetTextureAlphaMod
- SDL_SetTextureBlendMode
- SDL_SetTextureColorMod
- SDL_UnlockTexture
- SDL_UpdateTexture
