21 void loadCompileAndLinkShader(
char* vertexShaderLocation,
char* geometryShaderLocation,
char* fragmentShaderLoacation);
30 void bind_frag_data_location(
const std::string &name)
34 glBindFragDataLocation(shaderProgram, 0, name.c_str() );
40 void bind_frag_data_location(
const std::string &name,
const std::string &name2)
44 glBindFragDataLocation(shaderProgram, 0, name.c_str() );
45 glBindFragDataLocation(shaderProgram, 1, name2.c_str() );
57 GLuint vertex_shader_handle;
59 GLuint fragment_shader_handle;
61 GLuint geometry_shader_handle;
67 void loadAndCompile(
char* vertexShaderLocation,
char* fragmentShaderLoacation);
73 void loadAndCompile(
char* vertexShaderLocation,
char* geometryShaderLocation,
char* fragmentShaderLoacation);