Files
NazaraEngine/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.inl
SirLynix 5130a2ff84 Remove Config.hpp options and refactor headers
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00

24 lines
903 B
C++

// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Vulkan renderer"
// For conditions of distribution and use, see copyright notice in Export.hpp
namespace Nz::Vk
{
inline bool DebugReportCallbackEXT::IsSupported(Instance& instance)
{
return instance.vkCreateDebugReportCallbackEXT != nullptr;
}
inline VkResult DebugReportCallbackEXT::CreateHelper(Instance& instance, const VkDebugReportCallbackCreateInfoEXT* createInfo, const VkAllocationCallbacks* allocator, VkDebugReportCallbackEXT* handle)
{
return instance.vkCreateDebugReportCallbackEXT(instance, createInfo, allocator, handle);
}
inline void DebugReportCallbackEXT::DestroyHelper(Instance& instance, VkDebugReportCallbackEXT handle, const VkAllocationCallbacks* allocator)
{
return instance.vkDestroyDebugReportCallbackEXT(instance, handle, allocator);
}
}