Tesseract-Engine/src/Componenets/Mesh.h
2024-12-25 17:58:56 -06:00

12 lines
286 B
C

// Mesh.h
#pragma once
#include <GL/glew.h>
// A simple mesh storing a VAO, index count, and texture ID
struct Mesh
{
GLuint vao = 0; // Vertex Array Object
GLuint indexCount = 0; // Number of indices to draw
GLuint textureID = 0; // The texture handle
};