<commit_before>#ifndef SHADER_DATA_H
#define SHADER_DATA_H

#include <string>
#include <GL/glew.h>
#include <unordered_map>

namespace cogs
{
		namespace graphics
		{
				using AttribLocation = GLuint;
				using UniformLocation = GLuint;
				using ProgramID = GLuint;
				using ShaderID = GLuint;

				class ShaderData
				{
				public:
						ShaderData(ProgramID _programID, ShaderID _vertID, ShaderID _fragID, ShaderID _geoID = 0)
								: m_programID(_programID), m_vertexShaderID(_vertID), m_fragmentShaderID(_fragID), m_geometryShaderID(_geoID)
						{}

						~ShaderData()
						{

						}

						/** Dispose of the shader*/<commit_msg>Added a dispose function call in the shader data destructor<commit_after>#ifndef SHADER_DATA_H
#define SHADER_DATA_H

#include <string>
#include <GL/glew.h>
#include <unordered_map>

namespace cogs
{
		namespace graphics
		{
				using AttribLocation = GLuint;
				using UniformLocation = GLuint;
				using ProgramID = GLuint;
				using ShaderID = GLuint;

				class ShaderData
				{
				public:
						ShaderData(ProgramID _programID, ShaderID _vertID, ShaderID _fragID, ShaderID _geoID = 0)
								: m_programID(_programID), m_vertexShaderID(_vertID), m_fragmentShaderID(_fragID), m_geometryShaderID(_geoID)
						{}

						~ShaderData()
						{
								dispose();
						}

						/** Dispose of the shader*/
{'fraction_non_alphanumeric': 0.08801775147928995, 'fraction_numerical': 0.0014792899408284023, 'mean_word_length': 3.392857142857143, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5585111', 'n_tokens_mistral': 584, 'n_tokens_neox': 450, 'n_words': 103}