SDL3 module

SDL_GetRGB

procedureforeignextension6 overloadsSource
SDL_GetRGB :: (
    pixelvalue: Uint32,
    format: *SDL_PixelFormatDetails,
    palette: *SDL_Palette,
    r: *Uint8,
    g: *Uint8,
    b: *Uint8
) -> void #foreign

Parameters

pixelvalue: Uint32
palette: *SDL_Palette
r: *Uint8
g: *Uint8
b: *Uint8

Returns

void
SDL_GetRGB :: (
    pixelvalue: Uint32,
    format: *SDL_PixelFormatDetails,
    palette: *SDL_Palette,
    r: *Uint8,
    g: *Uint8,
    b: *Uint8
) -> void #foreign

Parameters

pixelvalue: Uint32
palette: *SDL_Palette
r: *Uint8
g: *Uint8
b: *Uint8

Returns

void
SDL_GetRGB :: (
    pixelvalue: Uint32,
    format: *SDL_PixelFormatDetails,
    palette: *SDL_Palette,
    r: *Uint8,
    g: *Uint8,
    b: *Uint8
) -> void #foreign

Parameters

pixelvalue: Uint32
palette: *SDL_Palette
r: *Uint8
g: *Uint8
b: *Uint8

Returns

void
SDL_GetRGB :: (
    pixelvalue: Uint32,
    format: *SDL_PixelFormatDetails,
    palette: *SDL_Palette,
    r: *Uint8,
    g: *Uint8,
    b: *Uint8
) -> void #foreign

Parameters

pixelvalue: Uint32
palette: *SDL_Palette
r: *Uint8
g: *Uint8
b: *Uint8

Returns

void
SDL_GetRGB :: (
    pixelvalue: Uint32,
    format: *SDL_PixelFormatDetails,
    palette: *SDL_Palette,
    r: *Uint8,
    g: *Uint8,
    b: *Uint8
) -> void #foreign

Parameters

pixelvalue: Uint32
palette: *SDL_Palette
r: *Uint8
g: *Uint8
b: *Uint8

Returns

void
SDL_GetRGB :: (
    pixelvalue: Uint32,
    format: *SDL_PixelFormatDetails,
    palette: *SDL_Palette,
    r: *Uint8,
    g: *Uint8,
    b: *Uint8
) -> void #foreign

Parameters

pixelvalue: Uint32
palette: *SDL_Palette
r: *Uint8
g: *Uint8
b: *Uint8

Returns

void

See also