GlobeEngine
ge::ShaderParser Class Reference

#include <ShaderParser.h>

Public Member Functions

 ShaderParser ()
 
 ~ShaderParser ()
 
void create ()
 
void clear ()
 

Static Public Member Functions

static std::string readFile (std::string _repopath)
 
static std::vector< std::string > splitProgram (const std::string &_source, std::string _filepath)
 
static std::shared_ptr< ge::ShaderAttributesgetAttributesFromString (const std::string &_source)
 
static std::string getAttributePropertyFromLine (ShaderProperty::IOType _iotype, std::string _line)
 
static unsigned short getOffSetForType (ShaderProperty::IOType _iotype)
 
static ShaderDefineProperty getDefinePropertyFromLine (std::string _line)
 

Constructor & Destructor Documentation

ge::ShaderParser::ShaderParser ( )
ge::ShaderParser::~ShaderParser ( )

Member Function Documentation

void ge::ShaderParser::clear ( )
void ge::ShaderParser::create ( )
std::string ge::ShaderParser::getAttributePropertyFromLine ( ShaderProperty::IOType  _iotype,
std::string  _line 
)
static
std::shared_ptr< ge::ShaderAttributes > ge::ShaderParser::getAttributesFromString ( const std::string &  _source)
static
ShaderDefineProperty ge::ShaderParser::getDefinePropertyFromLine ( std::string  _line)
static
unsigned short ge::ShaderParser::getOffSetForType ( ShaderProperty::IOType  _iotype)
static
std::string ge::ShaderParser::readFile ( std::string  _repopath)
static
std::vector< std::string > ge::ShaderParser::splitProgram ( const std::string &  _source,
std::string  _filepath 
)
static

The documentation for this class was generated from the following files: