#pragma once #include "assets/components/texture_components.hpp" #include #include "GL/glew.h" namespace zgl { struct vertex_buffer_metadata { static constexpr std::size_t max_component_count = 8; struct component { GLenum type{ GL_INVALID_ENUM }; GLint length{ 0 }; }; std::array components{}; GLuint component_count{}; GLsizei stride{}; }; }