|
Size: 1330
Comment: create page - 2/3 changeset 5169
|
Size: 1245
Comment: cached searchs
|
| 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. |
| Line 32: | Line 31: |
<<FullSearch(category:CategoryEnum CategoryRender)>> |
<<FullSearchCached(category:CategoryEnum CategoryRender -SGEnumerations)>> |
| Line 36: | Line 34: |
<<FullSearch(category:CategoryStruct CategoryRender)>> |
<<FullSearchCached(category:CategoryStruct CategoryRender -SGStructures)>> |
| Line 40: | Line 37: |
<<FullSearch(category:CategoryRender -CategoryEnum -CategoryStruct)>> |
<<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.
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.
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
