natiny_render_set_color
void natiny_render_set_color(NatinyColor color);
Sets the draw color used to tint all subsequent non-clear draws until it is changed or another window is bound.
Parameters
| Name | Type | Description |
|---|---|---|
color |
NatinyColor |
Packed color from natiny_color_from_rgba or natiny_color_from_hex |
Example
natiny_render_set_color(natiny_color_from_hex("#ff0000"));