#pragma once namespace Textures { class Texture2D { public: unsigned int id; Texture2D(const char* t_src); void load(); void bind(); private: const char* texture_src; int width, height, nrChannels; }; }