mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
20 lines
391 B
C++
20 lines
391 B
C++
#pragma once
|
|
|
|
#include "vulkaninstance.h"
|
|
|
|
class VulkanSurface
|
|
{
|
|
public:
|
|
VulkanSurface(std::shared_ptr<VulkanInstance> instance, VkSurfaceKHR surface);
|
|
~VulkanSurface();
|
|
|
|
std::shared_ptr<VulkanInstance> Instance;
|
|
VkSurfaceKHR Surface = VK_NULL_HANDLE;
|
|
|
|
#ifdef VK_USE_PLATFORM_WIN32_KHR
|
|
|
|
VulkanSurface(std::shared_ptr<VulkanInstance> instance, HWND window);
|
|
HWND Window = 0;
|
|
|
|
#endif
|
|
};
|