Loading [MathJax]/extensions/tex2jax.js
libigl v2.5.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
load_shader.h File Reference
#include "../igl_inline.h"
#include "gl.h"
#include <string>
#include "load_shader.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::opengl
 

Functions

GLuint igl::opengl::load_shader (const std::string &src, const GLenum type)
 Creates and compiles a shader from a given string.