jGL
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
shader.h File Reference
#include <jGL/uniform.h>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <regex>
#include <unordered_map>
#include <iostream>
#include <fstream>
#include <memory>
#include <jLog/jLog.h>
#include <typeinfo>
Include dependency graph for shader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jGL::Shader
 Generic shader program with vertex and fragment shader. More...
 

Namespaces

namespace  jGL
 A drawable graphic.
 

Variables

template<class T >
const std::regex jGL::UNIFORM_DATA_REGEX
 
template<>
const std::regex jGL::UNIFORM_DATA_REGEX< int > = std::regex("uniform int (\\S+);")
 
template<>
const std::regex jGL::UNIFORM_DATA_REGEX< float > = std::regex("uniform float (\\S+);")
 
template<>
const std::regex jGL::UNIFORM_DATA_REGEX< Sampler2D > = std::regex("uniform(\\slowp\\s|\\shighp\\s|\\smediump\\s|\\s)sampler2D (\\S+);")