Files
NazaraEngine/include/Nazara/VulkanRenderer/Wrapper/DebugReportCallbackEXT.inl
SirLynix 99c8027fd0 Remove .inl inclusion of their .hpp files
It has no real purpose and is breaking Clang parsing
2023-03-10 13:33:10 +01:00

26 lines
989 B
C++

// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Vulkan renderer"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/VulkanRenderer/Debug.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);
}
}
#include <Nazara/VulkanRenderer/DebugOff.hpp>