bn::sprite_palettes_contrast_manager class

Manages the contrast of all sprite color palettes.

Public static functions

static auto get() -> fixed
Returns the contrast of all sprite color palettes.
static void set(fixed contrast)
Sets the contrast of all sprite color palettes.

Function documentation

static void bn::sprite_palettes_contrast_manager::set(fixed contrast)

Sets the contrast of all sprite color palettes.

Parameters
contrast New contrast in the range [0..1].