SDL3 module

SDL_SetPaletteColors

procedureforeignextension6 overloadsSource
SDL_SetPaletteColors :: (
    palette: *SDL_Palette,
    colors: *SDL_Color,
    firstcolor: s32,
    ncolors: s32
) -> bool #foreign

Parameters

palette: *SDL_Palette
colors: *SDL_Color
firstcolor: s32
ncolors: s32

Returns

bool
SDL_SetPaletteColors :: (
    palette: *SDL_Palette,
    colors: *SDL_Color,
    firstcolor: s32,
    ncolors: s32
) -> bool #foreign

Parameters

palette: *SDL_Palette
colors: *SDL_Color
firstcolor: s32
ncolors: s32

Returns

bool
SDL_SetPaletteColors :: (
    palette: *SDL_Palette,
    colors: *SDL_Color,
    firstcolor: s32,
    ncolors: s32
) -> bool #foreign

Parameters

palette: *SDL_Palette
colors: *SDL_Color
firstcolor: s32
ncolors: s32

Returns

bool
SDL_SetPaletteColors :: (
    palette: *SDL_Palette,
    colors: *SDL_Color,
    firstcolor: s32,
    ncolors: s32
) -> bool #foreign

Parameters

palette: *SDL_Palette
colors: *SDL_Color
firstcolor: s32
ncolors: s32

Returns

bool
SDL_SetPaletteColors :: (
    palette: *SDL_Palette,
    colors: *SDL_Color,
    firstcolor: s32,
    ncolors: s32
) -> bool #foreign

Parameters

palette: *SDL_Palette
colors: *SDL_Color
firstcolor: s32
ncolors: s32

Returns

bool
SDL_SetPaletteColors :: (
    palette: *SDL_Palette,
    colors: *SDL_Color,
    firstcolor: s32,
    ncolors: s32
) -> bool #foreign

Parameters

palette: *SDL_Palette
colors: *SDL_Color
firstcolor: s32
ncolors: s32

Returns

bool

See also