Color palette in color RAM.
#include <srl_cram.hpp>
Public Member Functions | |
Palette () | |
Construct a new empty palette. | |
Palette (const CRAM::TextureColorMode mode, const uint16_t id) | |
Construct a new Palette entry. | |
SRL::Types::HighColor * | GetData () |
Get color data. | |
uint16_t | GetId () |
Get palette identifier. | |
CRAM::TextureColorMode | GetMode () |
Get color mode. | |
int16_t | Load (Types::HighColor *data, const int16_t count=-1) |
Load color data to palette. | |
|
inline |
|
inline |
Get color data.
|
inline |
Get palette identifier.
|
inline |
Get color mode.
|
inline |
Load color data to palette.
data | Color data |
count | Number of color to load (-1 means full palette) |