8#ifndef IGL_OPENGL_CREATE_SHADER_PROGRAM_H
9#define IGL_OPENGL_CREATE_SHADER_PROGRAM_H
10#include "../igl_inline.h"
37 const std::string &geom_source,
38 const std::string &vert_source,
39 const std::string &frag_source,
40 const std::map<std::string,GLuint> &attrib,
44 const std::string &vert_source,
45 const std::string &frag_source,
46 const std::map<std::string,GLuint> &attrib,
52 const std::string & geom_source,
53 const std::string & vert_source,
54 const std::string & frag_source,
55 const std::map<std::string,GLuint> &attrib);
60 const std::string & vert_source,
61 const std::string & frag_source,
62 const std::map<std::string,GLuint> &attrib);
66#ifndef IGL_STATIC_LIBRARY
67# include "create_shader_program.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
bool create_shader_program(const std::string &geom_source, const std::string &vert_source, const std::string &frag_source, const std::map< std::string, GLuint > &attrib, GLuint &id)
Create a shader program with a vertex and fragments shader loading from source strings and vertex att...