Skip to main content

SDL_GetSystemRAM

Function SDL_GetSystemRAM 

Source
pub unsafe extern "C" fn SDL_GetSystemRAM() -> c_int
Expand description

Get the amount of RAM configured in the system.

Returns: the amount of RAM configured in the system in MiB.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.