33 #if ( defined DC_BACKENDS_SHADERGL_X11 || defined DC_BACKENDS_SHADERGL_WIN32 )
34 #ifndef H_DC_BACKENDS_GL_SHADERPROGRAM_INCLUDED
35 #define H_DC_BACKENDS_GL_SHADERPROGRAM_INCLUDED
44 class ShaderProgramData;
48 const std::string & vertexSource_GL3,
49 const std::string & fragmentSource_GL3,
51 const std::string & vertexSource_GL2_1,
52 const std::string & fragmentSource_GL2_1,
54 const std::vector<std::pair<uint32_t, std::string>> & bindAttributeLocations
60 const std::string & GetVertexLog();
61 const std::string & GetFragmentLog();
62 const std::string & GetLinkLog();
64 void UpdateUniform(
const std::string &,
int);
65 void UpdateUniform(
const std::string &,
float);
66 void UpdateUniform(
const std::string &,
float *);
73 ShaderProgramData * data;