20 lines
428 B
C++
20 lines
428 B
C++
#pragma once
|
|
|
|
#include "../VulkanRenderer.h"
|
|
|
|
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);
|
|
};
|
|
}
|