mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2025-10-30 07:01:10 +00:00
26 lines
623 B
C++
26 lines
623 B
C++
#ifndef FUNCS_HPP
|
|
#define FUNCS_HPP
|
|
|
|
#include <vulkan/vulkan_core.h>
|
|
|
|
namespace Vulkan::Funcs {
|
|
|
|
///
|
|
/// Initialize the global Vulkan function pointers.
|
|
///
|
|
void initialize();
|
|
|
|
/// Call to the original vkCreateInstance function.
|
|
VkResult vkCreateInstanceOriginal(
|
|
const VkInstanceCreateInfo* pCreateInfo,
|
|
const VkAllocationCallbacks* pAllocator,
|
|
VkInstance* pInstance
|
|
);
|
|
/// Call to the original vkDestroyInstance function.
|
|
void vkDestroyInstanceOriginal(
|
|
VkInstance instance,
|
|
const VkAllocationCallbacks* pAllocator
|
|
);
|
|
}
|
|
|
|
#endif // FUNCS_HPP
|