|
group2 0.1.0
CSE 125 Group 2
|
Graphics configuration loaded from config.toml at startup. More...
#include <string>Go to the source code of this file.
Classes | |
| struct | GraphicsConfig |
Enumerations | |
| enum class | GpuBackend { Auto , Direct3D12 , Vulkan , Metal } |
| Selected GPU backend / driver. More... | |
Functions | |
| GraphicsConfig | loadGraphicsConfig (const char *path) |
| const char * | gpuBackendHintString (GpuBackend backend) |
| Map GpuBackend to the string SDL expects in SDL_HINT_GPU_DRIVER. | |
Graphics configuration loaded from config.toml at startup.
|
strong |
|
nodiscard |
Map GpuBackend to the string SDL expects in SDL_HINT_GPU_DRIVER.
Returns nullptr for GpuBackend::Auto (do not set the hint).
|
nodiscard |