Surface.palette - multiple declarations

Function Surface.palette

Gets the used color palette of the dsdl.Surface

inout inout(Palette) palette() @property @trusted;

Returns

dsdl.Palette instance of the dsdl.Surface

Function Surface.palette

Sets the color palette of the dsdl.Surface

void palette (
  Palette newPalette
) @property @trusted;

Parameters

NameDescription
newPalette new dsdl.Palette instance to use for the dsdl.Surface