kiba-engine
instance.h
1 #pragma once
2 
3 #include <kiba/core/types.h>
4 #include <vulkan/vulkan.h>
5 
6 extern struct vk_instance_t {
7  VkInstance raw;
8 #ifdef KB_DEBUG_BUILD
9  PFN_vkSetDebugUtilsObjectNameEXT setDebugUtilsObjectName;
10  PFN_vkCmdBeginDebugUtilsLabelEXT cmdBeginDebugUtilsLabel;
11  PFN_vkCmdEndDebugUtilsLabelEXT cmdEndDebugUtilsLabel;
12  PFN_vkCmdInsertDebugUtilsLabelEXT cmdInsertDebugUtilsLabel;
13 #endif
14 } vk_instance;
15 
16 b8 vk_instance_initialize(void);
17 void vk_instance_shutdown(void);