PixelFormat.palette - multiple declarations

Function PixelFormat.palette

Gets the dsdl.Palette bounds to the indexed dsdl.PixelFormat

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

Returns

the bound dsdl.Palette

Function PixelFormat.palette

Wraps SDL_SetPixelFormatPalette which sets the dsdl.Palette for indexed dsdl.PixelFormats`

void palette (
  Palette newPalette
) @property @trusted;

Parameters

NameDescription
newPalette the dsdl.Palette class instance to bind as the color palette