|
Size: 1330
Comment: create page - 2/3 changeset 5169
|
Size: 1206
Comment: Change searches to include currently excluded pages.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 23: | Line 22: |
| ,,The primitives,, ^All of these^ may be drawn in opaque, blended, or additive modes. | All of these may be drawn in opaque, blended, or additive modes. |
| Line 25: | Line 24: |
| The texture images ,,may be drawn in opaque, blended, or additive modes. They,, 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 27: | 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 32: | Line 29: |
<<FullSearch(category:CategoryEnum CategoryRender)>> |
<<FullSearchCached(category:CategoryEnum CategoryRender -title:SGEnumerations)>> |
| Line 36: | Line 32: |
<<FullSearch(category:CategoryStruct CategoryRender)>> |
<<FullSearchCached(category:CategoryStruct CategoryRender -title:SGStructures)>> |
| Line 40: | Line 35: |
<<FullSearch(category:CategoryRender -CategoryEnum -CategoryStruct)>> |
<<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
