SDL3 module

SDL_GetPixelFormatForMasks

procedureforeignextension6 overloadsSource
SDL_GetPixelFormatForMasks :: (
    bpp: s32,
    Rmask: Uint32,
    Gmask: Uint32,
    Bmask: Uint32,
    Amask: Uint32
) -> SDL_PixelFormat #foreign

Parameters

bpp: s32
Rmask: Uint32
Gmask: Uint32
Bmask: Uint32
Amask: Uint32

Returns

SDL_GetPixelFormatForMasks :: (
    bpp: s32,
    Rmask: Uint32,
    Gmask: Uint32,
    Bmask: Uint32,
    Amask: Uint32
) -> SDL_PixelFormat #foreign

Parameters

bpp: s32
Rmask: Uint32
Gmask: Uint32
Bmask: Uint32
Amask: Uint32

Returns

SDL_GetPixelFormatForMasks :: (
    bpp: s32,
    Rmask: Uint32,
    Gmask: Uint32,
    Bmask: Uint32,
    Amask: Uint32
) -> SDL_PixelFormat #foreign

Parameters

bpp: s32
Rmask: Uint32
Gmask: Uint32
Bmask: Uint32
Amask: Uint32

Returns

SDL_GetPixelFormatForMasks :: (
    bpp: s32,
    Rmask: Uint32,
    Gmask: Uint32,
    Bmask: Uint32,
    Amask: Uint32
) -> SDL_PixelFormat #foreign

Parameters

bpp: s32
Rmask: Uint32
Gmask: Uint32
Bmask: Uint32
Amask: Uint32

Returns

SDL_GetPixelFormatForMasks :: (
    bpp: s32,
    Rmask: Uint32,
    Gmask: Uint32,
    Bmask: Uint32,
    Amask: Uint32
) -> SDL_PixelFormat #foreign

Parameters

bpp: s32
Rmask: Uint32
Gmask: Uint32
Bmask: Uint32
Amask: Uint32

Returns

SDL_GetPixelFormatForMasks :: (
    bpp: s32,
    Rmask: Uint32,
    Gmask: Uint32,
    Bmask: Uint32,
    Amask: Uint32
) -> SDL_PixelFormat #foreign

Parameters

bpp: s32
Rmask: Uint32
Gmask: Uint32
Bmask: Uint32
Amask: Uint32

Returns

See also