#pragma once #include "Types.hpp" #include namespace TSE::OpenGL { class ShaderPart { public: uint shaderPartID = 0; ShaderPart() = default; private: void Init(const string& str, int shaderType); public: ~ShaderPart(); static std::unique_ptr LoadFromString(const std::string& str, int shaderType); static std::unique_ptr LoadFromPath(const std::string& path, int shaderType); }; } // namespace OpenGL