23 lines
671 B
C++
23 lines
671 B
C++
// Copyright (C) 2021 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/VulkanWindowFramebuffer.hpp>
|
|
#include <Nazara/VulkanRenderer/Debug.hpp>
|
|
|
|
namespace Nz
|
|
{
|
|
inline VulkanWindowFramebuffer::VulkanWindowFramebuffer(Vk::Framebuffer framebuffer) :
|
|
VulkanFramebuffer(FramebufferType::Window),
|
|
m_framebuffer(std::move(framebuffer))
|
|
{
|
|
}
|
|
|
|
inline const Vk::Framebuffer& Nz::VulkanWindowFramebuffer::GetFramebuffer() const
|
|
{
|
|
return m_framebuffer;
|
|
}
|
|
}
|
|
|
|
#include <Nazara/VulkanRenderer/DebugOff.hpp>
|