light/Engine/src/Platform/GraphicsAPI/OpenGL/glShader.h

22 lines
320 B
C
Raw Normal View History

2021-05-27 19:54:05 +04:30
#pragma once
#include "Graphics/Shader.h"
2021-07-29 17:12:13 +04:30
#include "Base/Base.h"
2021-05-27 19:54:05 +04:30
namespace Light {
class glShader : public Shader
{
private:
unsigned int m_ShaderID;
public:
2021-05-31 19:09:27 +04:30
glShader(const std::string& vetexSource, const std::string& fragmentSource);
2021-05-27 19:54:05 +04:30
~glShader();
void Bind() override;
void UnBind() override;
};
}