MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
mxvk_runtime_options.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace mxvk {
6 [[nodiscard]] inline bool &defaultEnableScreenshotStorage() {
7 static bool enabled = false;
8 return enabled;
9 }
10
11 inline void setDefaultEnableScreenshot(bool enabled) {
13 }
14
15 [[nodiscard]] inline bool defaultEnableScreenshot() {
17 }
18
19 [[nodiscard]] inline std::string &defaultExecutableNameStorage() {
20 static std::string name = "mxvk";
21 return name;
22 }
23
24 inline void setDefaultExecutableName(const std::string &name) {
25 defaultExecutableNameStorage() = name.empty() ? "mxvk" : name;
26 }
27
28 [[nodiscard]] inline const std::string &defaultExecutableName() {
30 }
31} // namespace mxvk
Utilities for loading and saving PNG images.
Definition mxvk.hpp:30
void setDefaultEnableScreenshot(bool enabled)
bool defaultEnableScreenshot()
const std::string & defaultExecutableName()
std::string & defaultExecutableNameStorage()
void setDefaultExecutableName(const std::string &name)
bool & defaultEnableScreenshotStorage()