MXVK Vulkan Framework 0.35.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
mxvk_exception.hpp
Go to the documentation of this file.
1#ifndef MXVK_EXCEPTION_HPP
2#define MXVK_EXCEPTION_HPP
3
4#include <stdexcept>
5#include <string>
6
7namespace mxvk {
8 class Exception : public std::runtime_error {
9 public:
10 explicit Exception(const std::string &text) : std::runtime_error(text) {}
11 std::string text() const { return what(); }
12 };
13} // namespace mxvk
14
15#endif
std::string text() const
Exception(const std::string &text)
Utilities for loading and saving PNG images.
Definition mxvk.hpp:31