Skip to main content

set_background_colors

Function set_background_colors 

Source
pub fn set_background_colors(
    access: Access<'_>,
    palette: u8,
    colors: &[Color; 4],
)
Available on crate feature cgb only.
Expand description

Set one background palette.

ยงPanics

If palette is PALETTES or beyond.