Files
OpenVulkano/openVulkanoCpp/Base/UI/IVulkanWindow.hpp
2023-10-03 19:52:23 +02:00

23 lines
622 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "IWindow.hpp"
#include <vector>
#include <vulkan/vulkan.hpp>
namespace OpenVulkano
{
class IVulkanWindow : virtual public IWindow
{
public:
~IVulkanWindow() override = default;
virtual vk::SurfaceKHR CreateSurface(const vk::Instance& instance, const vk::AllocationCallbacks* pAllocator = nullptr) = 0;
virtual std::vector<std::string> GetRequiredInstanceExtensions() = 0;
};
}