mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
18 lines
244 B
C
18 lines
244 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();
|
||
|
private:
|
||
|
GLuint m_ShaderID;
|
||
|
int m_Type;
|
||
|
bool m_IsLoaded;
|
||
|
};
|