ddnet/src/engine/client/opengl_sl.h

19 lines
263 B
C++

#pragma once
#include "GL/glew.h"
class CGLSL {
public:
bool LoadShader(const char* pFile, int Type);
void DeleteShader();
bool IsLoaded();
GLuint GetShaderID();
CGLSL();
virtual ~CGLSL();
private:
GLuint m_ShaderID;
int m_Type;
bool m_IsLoaded;
};