class::sgfx::Palette

class sgfx::Palette
  : public api::SgfxObject

Summary

const var::Vector< sg_color_t > & colors() const

void fill_gradient_argb8888(

sg_color_t color
)

void fill_gradient_gray(

bool is_ascending
)

void set_color(

u32 idx,
sg_color_t color
)

void set_count(

enum color_count count
)

enum color_count

Members

const var::Vector< sg_color_t > & colors() const

void fill_gradient_argb8888(

sg_color_t color
)


void fill_gradient_gray(

bool is_ascending
)


void set_color(

u32 idx,
sg_color_t color
)


void set_count(

enum color_count count
)


enum color_count
  • COUNT_1BPP
  • COUNT_2BPP
  • COUNT_4BPP
  • COUNT_8BPP

X

Thanks for Coming!

Subscribe to news and updates