Functions | |
| CPUInfo | get_cpu_info () noexcept |
| Generates CPU info data. | |
| void | seed_random () noexcept |
| Seed the cstdlib rng algos. | |
| void | set_metadata (const char *type, const char *value) noexcept |
| Sets metadata. | |
| void | set_hint (const char *hint, const char *value) noexcept |
| Sets SDL hints. | |
| std::string | as_string () noexcept |
| Gets the current platform name as a string. | |
|
noexcept |
Generates CPU info data.
Definition at line 14 of file CPUInfo.cpp.
|
noexcept |
Seed the cstdlib rng algos.
Definition at line 20 of file Platform.cpp.
|
noexcept |
Sets metadata.
Do before init.
| type | SDL_PROP_APP_METADATA_* |
| value | Value for the SDL PROP. |
Definition at line 25 of file Platform.cpp.
|
noexcept |
Sets SDL hints.
Do before init.
| type | SDL_HINT_* |
| value | Value for the SDL HINT. |
Definition at line 30 of file Platform.cpp.
|
nodiscardnoexcept |
Gets the current platform name as a string.
Definition at line 35 of file Platform.cpp.