Created Vulkan Instance (VkInstance)

This commit is contained in:
Pasha Bibko
2025-11-15 17:59:22 +00:00
parent e133929166
commit 2c6446aca9
8 changed files with 104 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include "GLFW/glfw3.h"
#include <vector>
namespace PB::Renderer
{
class GLFWManager
{
private:
static std::vector<GLFWwindow*> s_Windows;
public:
static bool Init();
static bool Cleanup();
static GLFWwindow* CreateWindow(int width, int height, const char* title = "Unnamed window");
static GLFWwindow* GetWindow(int index = 0);
};
}