3#include "pixelbullet/graphics/gpu_selection.h"
14 std::optional<uint32_t> gpu_index;
15 std::optional<GraphicsDevicePreference> gpu_preference;
20 std::filesystem::path path;
21 std::optional<SavedGpuLaunchDefault> saved_default;
22 std::string warning_message;
25[[nodiscard]] std::filesystem::path GetDefaultLaunchGpuDefaultsPath(
const std::filesystem::path& binary_path);
27[[nodiscard]]
bool SaveLaunchGpuDefault(
const std::filesystem::path& path,
const SavedGpuLaunchDefault& saved_default,
28 std::string* error_message);
29[[nodiscard]]
bool ClearLaunchGpuDefault(
const std::filesystem::path& path, std::string* error_message);
Definition launch_gpu_defaults.h:19
Definition launch_gpu_defaults.h:13