Made Vulkan Surface
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <vulkan/vulkan.h>
|
||||
#include "../VulkanRenderer.h"
|
||||
|
||||
namespace PB::Renderer
|
||||
{
|
||||
@@ -9,9 +8,12 @@ namespace PB::Renderer
|
||||
{
|
||||
private:
|
||||
static std::optional<VkInstance> s_Instance;
|
||||
static std::optional<VkSurfaceKHR> s_Surface;
|
||||
|
||||
public:
|
||||
static std::optional<VkInstance> Init();
|
||||
static bool Cleanup();
|
||||
|
||||
static std::optional<VkSurfaceKHR> CreateSurface(GLFWwindow* window);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user