22 lines
697 B
C++
22 lines
697 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
|
|
{
|
|
namespace Vk
|
|
{
|
|
inline VkResult Framebuffer::CreateHelper(Device& device, const VkFramebufferCreateInfo* createInfo, const VkAllocationCallbacks* allocator, VkFramebuffer* handle)
|
|
{
|
|
return device.vkCreateFramebuffer(device, createInfo, allocator, handle);
|
|
}
|
|
|
|
inline void Framebuffer::DestroyHelper(Device& device, VkFramebuffer handle, const VkAllocationCallbacks* allocator)
|
|
{
|
|
return device.vkDestroyFramebuffer(device, handle, allocator);
|
|
}
|
|
}
|
|
}
|
|
|