Function SDL_GetSystemRAM

pub unsafe extern "C" fn SDL_GetSystemRAM() -> i32
Available on crate feature dep_sdl3 only.
Expand description

Get the amount of RAM configured in the system.

§Return value

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

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.