Go to the source code of this file.
Functions | |
| color_t | ui::shader::startupRainbow (color_t pixel, const Coords &coords, const Size &size, time_t time) |
| A pixel shader that that animates a rainbow transition from black to white. | |
| color_t ui::shader::startupRainbow | ( | color_t | pixel, |
| const Coords & | coords, | ||
| const Size & | size, | ||
| time_t | time | ||
| ) |
A pixel shader that that animates a rainbow transition from black to white.
This is only meant to be used once at startup.
| pixel | The original pixel color. |
| coords | The coords of the current pixel. |
| size | The total size of the image. |
| time | The current clock time in milliseconds. |