TerraForge3D  2.3.1
3D Terrain And Landscape Generator
GLSLHandler Class Reference

Public Member Functions

 GLSLHandler (std::string name="Shader")
 
std::string GenerateGLSL ()
 
void AddTopLine (GLSLLine line)
 
void AddUniform (GLSLUniform uniform)
 
void AddMacro (GLSLMacro macro)
 
void AddSSBO (GLSLSSBO ssbo)
 
void AddFunction (GLSLFunction function)
 
bool HasFunction (std::string name)
 
void Clear ()
 

Public Attributes

std::string version = "430 core"
 
std::string code = ""
 
std::string name = ""
 
std::vector< GLSLUniformuniforms
 
std::vector< GLSLFunctionfunctions
 
std::vector< std::string > functionNames
 
std::vector< GLSLMacromacros
 
std::vector< GLSLSSBOssbos
 
std::vector< GLSLLinetopLines
 

Detailed Description

Definition at line 74 of file GLSLHandler.h.


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