SetRenderDrawColor ( renderer r g b a -- fl )
published: 27 October 2024 / updated 8 November 2024
vocabulary: SDL2
Set the color used for drawing operations (Rect, Line and Clear)
Parameters
- renderer the rendering context
- r the red value used to draw on the rendering target
- g the green value used to draw on the rendering target
- b the blue value used to draw on the rendering target
- a the alpha value used to draw on the rendering target; usually
SDL_ALPHA_OPAQUE(255). UseSetRenderDrawBlendModeto specify how the alpha channel is used
Legal: site web personnel sans commerce / personal site without seling
