ddnet/src/engine/client/opengl_sl.h

20 lines
311 B
C
Raw Normal View History

#pragma once
2017-10-20 09:35:44 +00:00
#include "engine/external/glew/GL/glew.h"
class CGLSL {
public:
bool LoadShader(class IStorage *pStorage, const char *pFile, int Type);
void DeleteShader();
bool IsLoaded();
GLuint GetShaderID();
CGLSL();
virtual ~CGLSL();
private:
GLuint m_ShaderID;
int m_Type;
bool m_IsLoaded;
2017-10-20 07:08:49 +00:00
};