#pragma once #include #if defined(CONF_PLATFORM_MACOSX) #include #else #include "engine/external/glew/glew.h" #endif 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; };