12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef IGL_OPENGL_CREATE_SHADER_PROGRAM_H
- #define IGL_OPENGL_CREATE_SHADER_PROGRAM_H
- #include "../igl_inline.h"
- #include "gl.h"
- #include <string>
- #include <map>
- namespace igl
- {
- namespace opengl
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- IGL_INLINE 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);
- IGL_INLINE bool create_shader_program(
- const std::string &vert_source,
- const std::string &frag_source,
- const std::map<std::string,GLuint> &attrib,
- GLuint & id);
- IGL_INLINE GLuint 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);
- IGL_INLINE GLuint create_shader_program(
- const std::string & vert_source,
- const std::string & frag_source,
- const std::map<std::string,GLuint> &attrib);
- }
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "create_shader_program.cpp"
- #endif
- #endif
|