SDL3 module

SDL_GetClosestFullscreenDisplayMode

procedureforeignextension6 overloadsSource
SDL_GetClosestFullscreenDisplayMode :: (
    displayID: SDL_DisplayID,
    w: s32,
    h: s32,
    refresh_rate: float32,
    include_high_density_modes: bool,
    closest: *SDL_DisplayMode
) -> bool #foreign

Parameters

displayID: SDL_DisplayID
w: s32
h: s32
refresh_rate: float32
include_high_density_modes: bool
closest: *SDL_DisplayMode

Returns

bool
SDL_GetClosestFullscreenDisplayMode :: (
    displayID: SDL_DisplayID,
    w: s32,
    h: s32,
    refresh_rate: float32,
    include_high_density_modes: bool,
    closest: *SDL_DisplayMode
) -> bool #foreign

Parameters

displayID: SDL_DisplayID
w: s32
h: s32
refresh_rate: float32
include_high_density_modes: bool
closest: *SDL_DisplayMode

Returns

bool
SDL_GetClosestFullscreenDisplayMode :: (
    displayID: SDL_DisplayID,
    w: s32,
    h: s32,
    refresh_rate: float32,
    include_high_density_modes: bool,
    closest: *SDL_DisplayMode
) -> bool #foreign

Parameters

displayID: SDL_DisplayID
w: s32
h: s32
refresh_rate: float32
include_high_density_modes: bool
closest: *SDL_DisplayMode

Returns

bool
SDL_GetClosestFullscreenDisplayMode :: (
    displayID: SDL_DisplayID,
    w: s32,
    h: s32,
    refresh_rate: float32,
    include_high_density_modes: bool,
    closest: *SDL_DisplayMode
) -> bool #foreign

Parameters

displayID: SDL_DisplayID
w: s32
h: s32
refresh_rate: float32
include_high_density_modes: bool
closest: *SDL_DisplayMode

Returns

bool
SDL_GetClosestFullscreenDisplayMode :: (
    displayID: SDL_DisplayID,
    w: s32,
    h: s32,
    refresh_rate: float32,
    include_high_density_modes: bool,
    closest: *SDL_DisplayMode
) -> bool #foreign

Parameters

displayID: SDL_DisplayID
w: s32
h: s32
refresh_rate: float32
include_high_density_modes: bool
closest: *SDL_DisplayMode

Returns

bool
SDL_GetClosestFullscreenDisplayMode :: (
    displayID: SDL_DisplayID,
    w: s32,
    h: s32,
    refresh_rate: float32,
    include_high_density_modes: bool,
    closest: *SDL_DisplayMode
) -> bool #foreign

Parameters

displayID: SDL_DisplayID
w: s32
h: s32
refresh_rate: float32
include_high_density_modes: bool
closest: *SDL_DisplayMode

Returns

bool

See also