9 #ifndef GlobeEngine_ShaderParser_h
10 #define GlobeEngine_ShaderParser_h
12 #include "OpenGL_Includes.h"
37 std::vector<ShaderDefineProperty>
defines;
62 static std::string
readFile(std::string _repopath);
63 static std::vector<std::string>
splitProgram(
const std::string& _source, std::string _filepath);
Definition: ShaderParser.h:28
void create()
Definition: ShaderParser.cpp:29
Definition: ShaderParser.h:21
Definition: ShaderParser.h:20
static std::vector< std::string > splitProgram(const std::string &_source, std::string _filepath)
Definition: ShaderParser.cpp:73
Definition: ShaderParser.h:21
Definition: ShaderParser.h:20
Definition: ShaderParser.h:20
std::vector< std::string > outAttributes
Definition: ShaderParser.h:46
std::string name
Definition: ShaderParser.h:29
Definition: ShaderParser.h:21
static unsigned short getOffSetForType(ShaderProperty::IOType _iotype)
Definition: ShaderParser.cpp:57
Definition: ShaderParser.h:21
Definition: ShaderParser.h:33
std::string _name
Definition: ShaderParser.h:25
static std::string readFile(std::string _repopath)
Definition: ShaderParser.cpp:167
static std::string getAttributePropertyFromLine(ShaderProperty::IOType _iotype, std::string _line)
Definition: ShaderParser.cpp:48
static ShaderDefineProperty getDefinePropertyFromLine(std::string _line)
Definition: ShaderParser.cpp:38
Definition: ShaderParser.h:19
std::vector< std::string > inAttributes
Definition: ShaderParser.h:41
IOType
Definition: ShaderParser.h:21
std::vector< ShaderDefineProperty > defines
Definition: ShaderParser.h:37
Definition: ShaderParser.h:20
int value
Definition: ShaderParser.h:30
void clear()
Definition: ShaderParser.cpp:24
Definition: ShaderParser.h:20
Definition: AvalancheTrainingSimulationEngine.h:28
std::vector< std::string > uniformAttributes
Definition: ShaderParser.h:51
~ShaderParser()
Definition: ShaderParser.cpp:19
ShaderParser()
Definition: ShaderParser.cpp:14
IOType _iotype
Definition: ShaderParser.h:23
Definition: ShaderParser.h:54
static std::shared_ptr< ge::ShaderAttributes > getAttributesFromString(const std::string &_source)
Definition: ShaderParser.cpp:120
Type
Definition: ShaderParser.h:20
Type _type
Definition: ShaderParser.h:24