VOX
A little voxel engine
Loading...
Searching...
No Matches
RenderAPI.cpp File Reference
#include "RenderAPI.hpp"
#include "logger.hpp"
#include "Block.hpp"
#include "Model.hpp"
#include "ObjLoader.hpp"
#include "Item.hpp"
#include "Tracy.hpp"
#include <stb_image.h>
#include <cstring>
#include <set>
#include <algorithm>
#include <map>
Include dependency graph for RenderAPI.cpp:

Macros

#define VK_LOAD_FUNCTION(name)
 

Macro Definition Documentation

◆ VK_LOAD_FUNCTION

#define VK_LOAD_FUNCTION (   name)
Value:
name = reinterpret_cast<PFN_##name>(vkGetInstanceProcAddr(instance, #name)); \
if (name == nullptr) throw std::runtime_error("Failed to load Vulkan function: " #name);
Definition: ObjLoader.hpp:65