#include "mxvk/mxvk_sprite3d.hpp"
#include "mxvk/mxvk.hpp"
#include "mxvk/mxvk_exception.hpp"
#include "mxvk/mxvk_png.hpp"
#include "mxvk/mxvk_shader_module.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <filesystem>
#include <format>
#include <fstream>
#include <iostream>
Go to the source code of this file.
|
| namespace | mxvk |
| | Utilities for loading and saving PNG images.
|
◆ VK_CHECK_RESULT
| #define VK_CHECK_RESULT |
( |
| f | ) |
|
Value:{ \
VkResult res = (f); \
if (res != VK_SUCCESS) { \
throw mxvk::Exception(std::format(
"Fatal : VkResult is \"{}\" in {} at line {}",
static_cast<int>(res), __FILE__, __LINE__)); \
} \
}
Definition at line 19 of file mxvk_sprite3d.cpp.
19#define VK_CHECK_RESULT(f) \
20 { \
21 VkResult res = (f); \
22 if (res != VK_SUCCESS) { \
23 throw mxvk::Exception(std::format("Fatal : VkResult is \"{}\" in {} at line {}", static_cast<int>(res), __FILE__, __LINE__)); \
24 } \
25 }