Principais Funções SDL2
- https://wiki.libsdl.org/SDL_Init: Initialize the SDL library
- https://wiki.libsdl.org/SDL_CreateWindow: Create a window with the specified position, dimensions, and flags.
- https://wiki.libsdl.org/SDL_CreateRenderer: Create a 2D rendering context for a window.
- https://wiki.libsdl.org/SDL_CreateRGBSurfaceFrom: Allocate a new RGB surface with existing pixel data.
- https://wiki.libsdl.org/SDL_CreateTextureFromSurface: Create a texture from an existing surface.
- https://wiki.libsdl.org/SDL_PollEvent: Poll for currently pending events.
- https://wiki.libsdl.org/SDL_Event: A union that contains structures for the different event types.
- https://wiki.libsdl.org/SDL_SetRenderDrawColor: Set the color used for drawing operations (Rect, Line and Clear).
- https://wiki.libsdl.org/SDL_RenderClear: Clear the current rendering target with the drawing color.
- https://wiki.libsdl.org/SDL_RenderPresent: Update the screen with any rendering performed since the previous call.
- https://wiki.libsdl.org/SDL_SetTextureColorMod: Set an additional color value multiplied into render copy operations.
- https://wiki.libsdl.org/SDL_SetTextureAlphaMod: Set an additional alpha value multiplied into render copy operations.
- https://wiki.libsdl.org/SDL_RenderCopy: Copy a portion of the texture to the current rendering target.
- https://wiki.libsdl.org/SDL_Quit: Clean up all initialized subsystems.
- https://wiki.libsdl.org/SDL_FreeSurface: Free an RGB surface.
- https://wiki.libsdl.org/SDL_TextInputEvent: A structure that contains keyboard text input event information.
- https://wiki.libsdl.org/SDL_SetRenderDrawColor: Set the color used for drawing operations (Rect, Line and Clear).
- https://wiki.libsdl.org/SDL_RenderFillRect: Fill a rectangle on the current rendering target with the drawing color.
- https://wiki.libsdl.org/SDL_GetTicks: Get the number of milliseconds since SDL library initialization.
- https://wiki.libsdl.org/SDL_Delay: Wait a specified number of milliseconds before returning.
Esta postagem está licenciada sob
CC BY 4.0
pelo autor.