
Go to the source code of this file.
Classes | |
| class | yaze::gfx::SnesColor |
| SNES Color container. More... | |
Namespaces | |
| namespace | yaze |
| Main namespace for the application. | |
| namespace | yaze::gfx |
| Contains classes for handling graphical data. | |
Functions | |
| snes_color | yaze::gfx::ConvertSnesToRgb (uint16_t snes_color) |
| Convert SNES 15-bit color to RGB (0-255 range) | |
| uint16_t | yaze::gfx::ConvertRgbToSnes (const snes_color &color) |
| Convert RGB (0-255) to SNES 15-bit color. | |
| uint16_t | yaze::gfx::ConvertRgbToSnes (const ImVec4 &color) |
| Convert ImVec4 (0.0-1.0) to SNES 15-bit color. | |
| ImVec4 | yaze::gfx::SnesColorToImVec4 (const snes_color &color) |
| Convert snes_color (0-255) to ImVec4 (0.0-1.0) | |
| snes_color | yaze::gfx::ImVec4ToSnesColor (const ImVec4 &color) |
| Convert ImVec4 (0.0-1.0) to snes_color (0-255) | |
| ImVec4 | yaze::gfx::SnesTo8bppColor (uint16_t color_value) |
| Convert SNES 15-bit color directly to ImVec4 (0.0-1.0) | |
| std::vector< snes_color > | yaze::gfx::Extract (const char *data, unsigned int offset, unsigned int palette_size) |
| std::vector< char > | yaze::gfx::Convert (const std::vector< snes_color > &palette) |
| SnesColor | yaze::gfx::ReadColorFromRom (int offset, const uint8_t *rom) |
| SnesColor | yaze::gfx::GetCgxColor (uint16_t color) |
| std::vector< SnesColor > | yaze::gfx::GetColFileData (uint8_t *data) |
Variables | |
| constexpr int | yaze::gfx::NumberOfColors = 3143 |
| constexpr uint8_t | yaze::gfx::kColorByteMax = 255 |
| constexpr float | yaze::gfx::kColorByteMaxF = 255.f |