File ShaderLib.h
FileList > render > ShaderLib.h
Go to the source code of this file
#include <GL/glew.h>#include <fstream>#include <string>#include <sstream>#include <iostream>#include <unordered_map>#include <algorithm>#include "Parameters.h"
Classes
| Type | Name |
|---|---|
| class | ShaderLib |
| class | ShaderStruct |
Public Types
| Type | Name |
|---|---|
| typedef std::pair< ParaType, std::string > | Arg |
| typedef std::vector< Arg > | Args |
| typedef std::tuple< int, std::string, ParaType > | S_AB |
| typedef S_U | S_IN |
| typedef S_U | S_OUT |
| typedef S_AB | S_REND |
| typedef std::tuple< int, std::string, Args > | S_SB |
| typedef std::tuple< std::string, std::string, int > | S_Struct |
| typedef S_SB | S_Struct_DEF |
| typedef std::tuple< std::string, ParaType, int > | S_U |
| typedef S_func | S_UBuffer |
| typedef S_func | S_const |
| typedef std::tuple< ParaType, std::string, std::string, Args > | S_func |
| typedef std::tuple< std::string, ParaType, float > | S_glob |
| typedef S_Struct | S_var |
| enum | ShaderPropType |
Public Types Documentation
typedef Arg
using Arg = std::pair<ParaType, std::string>;
typedef Args
using Args = std::vector<Arg>;
typedef S_AB
using S_AB = std::tuple<int, std::string, ParaType>;
typedef S_IN
using S_IN = S_U;
typedef S_OUT
using S_OUT = S_U;
typedef S_REND
using S_REND = S_AB;
typedef S_SB
using S_SB = std::tuple<int, std::string, Args>;
typedef S_Struct
using S_Struct = std::tuple<std::string, std::string, int>;
typedef S_Struct_DEF
using S_Struct_DEF = S_SB;
typedef S_U
using S_U = std::tuple<std::string, ParaType, int>;
typedef S_UBuffer
using S_UBuffer = S_func;
typedef S_const
using S_const = S_func;
typedef S_func
using S_func = std::tuple<ParaType, std::string, std::string, Args>;
typedef S_glob
using S_glob = std::tuple<std::string, ParaType, float>;
typedef S_var
using S_var = S_Struct;
enum ShaderPropType
enum ShaderPropType {
NONE_PROP = -1,
LAYOUT_IN_PROP,
LAYOUT_BUFFER_PROP,
LAYOUT_OUT_PROP,
IN_PROP,
OUT_PROP,
UNIFRON_PROP,
STURCT_DEF_PROP,
STURCT_PROP,
UNIFORM_STRUCT_PROP,
CONST_PROP,
GLOB_PROP,
FUNC_DEF_PROP,
END_PROP
};
The documentation for this class was generated from the following file src/render/ShaderLib.h