wip framebuffers

This commit is contained in:
2025-09-14 15:42:41 +02:00
parent f97ad3dd13
commit 3320e83efb
6 changed files with 85 additions and 4 deletions
+7
View File
@@ -5,6 +5,8 @@
#include <sys/time.h>
#include <time.h>
#include "config.h"
#ifndef TYPES_H
#define TYPES_H
@@ -36,10 +38,15 @@ typedef struct ShaderProgram {
GLuint mvp_location;
GLuint itime_location;
GLuint ires_location;
GLuint frames_location[BUFFER_COUNT];
GLuint vertex_buffer;
GLuint vertex_array;
GLuint vpos_location;
GLuint frame_buffers[BUFFER_COUNT];
GLuint render_buffers[BUFFER_COUNT];
GLuint textures[BUFFER_COUNT];
} ShaderProgram;
typedef GLFWwindow Window;