SDL2 API: 02.Video - 02 - 2D Accelerated Rendering Flashcards
SDL_ComposeCustomBlendMode
Compose a custom blend mode for renderers.
SDL_CreateRenderer
Create a 2D rendering context for a window.
SDL_CreateSoftwareRenderer
Create a 2D software rendering context for a surface.
SDL_CreateTexture
Create a texture for a rendering context.
SDL_CreateTextureFromSurface
Create a texture from an existing surface.
SDL_CreateWindowAndRenderer
Create a window and default renderer.
SDL_DestroyRenderer
Destroy the rendering context for a window and free associated textures.
SDL_DestroyTexture
Destroy the specified texture.
SDL_GL_BindTexture
Bind an OpenGL/ES/ES2 texture to the current context for use with OpenGL instructions when rendering OpenGL primitives directly.
SDL_GL_UnbindTexture
Unbind an OpenGL/ES/ES2 texture from the current context.
SDL_GetNumRenderDrivers
Get the number of 2D rendering drivers available for the current display.
SDL_GetRenderDrawBlendMode
Get the blend mode used for drawing operations.
SDL_GetRenderDrawColor
Get the color used for drawing operations (Rect, Line and Clear).
SDL_GetRenderDriverInfo
Get information about a specific 2D rendering driver for the current display.
SDL_GetRenderTarget
Get the current render target.
SDL_GetRenderer
Get the renderer associated with a window.
SDL_GetRendererInfo
Get information about a rendering context.
SDL_GetRendererOutputSize
Get the output size in pixels of a rendering context.
SDL_GetTextureAlphaMod
Get the additional alpha value multiplied into render copy operations.
SDL_GetTextureBlendMode
Get the blend mode used for texture copy operations.
SDL_GetTextureColorMod
Get the additional color value multiplied into render copy operations.
SDL_LockTexture
Lock a portion of the texture for write-only pixel access.