2023-03-12 16:24:48 +01:00
|
|
|
// "Copyright [2023] <Krzysztof Rudnicki>"
|
2022-09-05 20:17:25 +02:00
|
|
|
#ifndef BEFORE_RENDER_HPP
|
|
|
|
|
#define BEFORE_RENDER_HPP
|
|
|
|
|
#include <GLFW/glfw3.h>
|
|
|
|
|
|
|
|
|
|
void configureGLFW(const int GLFWMajorVersion, const int GLFWMinorVersion);
|
|
|
|
|
void instantiateGLFWwindow();
|
2022-09-07 18:34:50 +02:00
|
|
|
GLFWwindow *createWindowObject();
|
2022-09-05 20:17:25 +02:00
|
|
|
int initializeGLAD();
|
2022-09-07 18:54:59 +02:00
|
|
|
void framebuffer_size_callback(GLFWwindow *window, const int width, const int height);
|
2022-09-07 18:34:50 +02:00
|
|
|
void viewPort(GLFWwindow *window);
|
|
|
|
|
GLFWwindow *prepareForRender();
|
2022-09-05 20:17:25 +02:00
|
|
|
|
|
|
|
|
#endif
|