libigl v2.5.0
Loading...
Searching...
No Matches
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.