YoggieEngine/MyGraphicsEngine/include/MyGraphicsEngine/Window.h
2022-05-04 14:39:27 +02:00

29 lines
478 B
C++

#pragma once
#include <glad/glad.h>
#define GLFW_STATIC
#include <GLFW/glfw3.h>
class BarinkWindow{
private:
GLFWwindow* window;
bool FullScreen;
bool VulkanSupported;
int Width, Height;
static bool InitGLFW();
public:
BarinkWindow(const int width, const int height);
~BarinkWindow();
GLFWwindow* windowptr();
bool WindowShouldClose();
void Poll();
void SwapBuffers();
};