Palette.this

Constructs a dsdl2.Palette and allocate memory for a set amount of dsdl2.Colors

Parameters

ncolors uint

amount of dsdl2.Colors to allocate in the dsdl2.Palette

Throws

dsdl2.SDLException if allocation failed

Meta