123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef IGL_OPENGL_CREATE_SHADER_PROGRAM_H
- #define IGL_OPENGL_CREATE_SHADER_PROGRAM_H
- #include "../igl_inline.h"
- #include <string>
- #include <map>
- #include "OpenGL_convenience.h"
- 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
|