Files
game-engine/src/engine/vbo.h
2024-04-11 01:05:03 -04:00

19 lines
313 B
C

#pragma once
#include <GL/glew.h>
#include <GL/gl.h>
#include "../COMMON.h"
typedef struct VBO
{
GLuint handle;
GLint type;
bool isDynamic;
} VBO;
void vbo_buffer(VBO* self, size_t size, void* data);
void vbo_bind(VBO* self);
void vbo_free(VBO* self);
void vbo_init(VBO* self, GLint type, bool isDynamic);