Class SDL_Folder

java.lang.Object
club.doki7.sdl3.enumtype.SDL_Folder

public final class SDL_Folder extends Object

The type of the OS-provided default folder for a specific purpose.

Note that the Trash folder isn't included here, because trashing files usually involves extra OS-specific functionality to remember the file's original location.

The folders supported per platform are:

Windows macOS/iOS tvOS Unix (XDG) Haiku Emscripten
HOME X X X X X
DESKTOP X X X X
DOCUMENTS X X X
DOWNLOADS Vista+ X X
MUSIC X X X
PICTURES X X X
PUBLICSHARE X X
SAVEDGAMES Vista+
SCREENSHOTS Vista+
TEMPLATES X X X
VIDEOS X X* X

Note that on macOS/iOS, the Videos folder is called "Movies".

Since: This enum is available since SDL 3.2.0.

See also:

  • SDL_GetUserFolder