SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::CRAM::Palette Struct Reference

Detailed Description

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::HighColorGetData ()
 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.