Color RAM management.
#include <srl_cram.hpp>
Classes | |
| struct | Palette |
| Color palette in color RAM. More... | |
Public Types | |
| enum class | TextureColorMode : uint16_t { Paletted256 = 6 , Paletted128 = 5 , Paletted64 = 4 , Paletted16 = 2 , RGB555 = 1 } |
| Texture color mode. More... | |
Static Public Member Functions | |
| static bool | GetBankUsedState (uint16_t bank, CRAM::TextureColorMode size) |
| Gets a value indicating whether said color bank is being used or not. | |
| static int32_t | GetFreeBank (CRAM::TextureColorMode size) |
| Get the Free color RAM bank. | |
| static void | SetBankUsedState (uint16_t bank, CRAM::TextureColorMode size, bool used) |
| Sets a value in bank indicating whether said color bank is being used or not. | |
Static Public Attributes | |
| static const void * | BaseAddress = (const void*)(VDP2_COLRAM) |
| Base RAM address. | |