Constant STORAGE_USER_DRIVER

pub const STORAGE_USER_DRIVER: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

A variable that specifies a backend to use for user storage.

By default, SDL will try all available storage backends in a reasonable order until it finds one that can work, but this hint allows the app or user to force a specific target, such as “pc” if, say, you are on Steam but want to avoid SteamRemoteStorage for user data.

This hint should be set before SDL is initialized.

§Availability

This hint is available since SDL 3.2.0.