mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
19 lines
263 B
C++
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;
|
|
}; |