|
SDL2lazy
|
#include <SlSprite.h>
Public Attributes | |
| SDL_Rect | destinationRect = {0,0,0,0} |
| uint8_t | color [4] = {0x00, 0x00, 0x00, 0xFF} |
| uint32_t | renderOptions = SL_RENDER_DEFAULT |
| double | angle = 0 |
Contains the destination rectangle, the color (for SDL_SetColorMod), and the render options.
| double SlRenderSettings::angle = 0 |
Angle by which the sprite will be rotated.
| uint8_t SlRenderSettings::color[4] = {0x00, 0x00, 0x00, 0xFF} |
red, green, blue, alpha
Used for SL_RENDER_COLORMOD (SDL_SetTextureColorMod) and SL_RENDER_ALPHAMOD (SDL_SetTextureAlphaMod). Also used as fill colour when creating texture from rectangle. Initialized to black and max alpha.
| SDL_Rect SlRenderSettings::destinationRect = {0,0,0,0} |
Holds the location where the sprite will be rendered in the window.
| uint32_t SlRenderSettings::renderOptions = SL_RENDER_DEFAULT |
SlRenderOptions for the texture.
1.8.9.1