13 VERTEX = GL_VERTEX_SHADER,
14 FRAGMENT = GL_FRAGMENT_SHADER,
17 Shader(
const std::string &filepath, Type shaderType);
18 Shader(
const Shader &) =
delete;
19 Shader(Shader &&other);
23 Shader &operator=(
const Shader &) =
delete;
24 Shader &operator=(Shader &&other);
26 GLuint GetShaderId()
const {
return m_ShaderId; }
29 void Compile(
const std::string &src)
const;
30 void CheckStatus(
const std::string &filepath)
const;