mirror of
https://github.com/kuhyx/engineer-thesis-WUT.git
synced 2026-07-04 16:23:14 +02:00
18 lines
598 B
C++
18 lines
598 B
C++
#ifndef RENDER_LOOP_HPP
|
|
#define RENDER_LOOP_HPP
|
|
#include <GLFW/glfw3.h>
|
|
#include <iostream>
|
|
|
|
|
|
|
|
void renderLoop(GLFWwindow* window);
|
|
bool renderLoopInside(GLFWwindow* window, bool whatToDraw);
|
|
void copyVerticesArray(unsigned int vertexBufferObject, const float vertices[], const size_t sizeOfVertices, const GLenum boundBufferTarget);
|
|
unsigned int generateBindVAO();
|
|
void configureVertexAttribute();
|
|
bool processInput(GLFWwindow *window, bool whatToDraw);
|
|
|
|
template <class T> unsigned int copyVerticesMemory(const T vertices[], const size_t sizeOfVertices, const GLenum boundBufferTarget);
|
|
|
|
|
|
#endif |