#include <GteGLSLProgramFactory.h>

Public Member Functions | |
| virtual int | GetAPI () const override |
| GLSLProgramFactory () | |
Public Member Functions inherited from gte::ProgramFactory | |
| std::shared_ptr< ComputeProgram > | CreateFromFile (std::string const &csFile) |
| std::shared_ptr< VisualProgram > | CreateFromFiles (std::string const &vsFile, std::string const &psFile, std::string const &gsFile) |
| std::shared_ptr< ComputeProgram > | CreateFromSource (std::string const &csSource) |
| std::shared_ptr< VisualProgram > | CreateFromSources (std::string const &vsSource, std::string const &psSource, std::string const &gsSource) |
| void | PopDefines () |
| void | PopFlags () |
| ProgramFactory () | |
| void | PushDefines () |
| void | PushFlags () |
| virtual | ~ProgramFactory () |
Static Public Attributes | |
| static std::string | defaultCSEntry = "main" |
| static unsigned int | defaultFlags = 0 |
| static std::string | defaultGSEntry = "main" |
| static std::string | defaultPSEntry = "main" |
| static std::string | defaultVersion = "#version 430" |
| static std::string | defaultVSEntry = "main" |
Private Member Functions | |
| GLuint | Compile (GLenum shaderType, std::string const &source) |
| virtual std::shared_ptr< ComputeProgram > | CreateFromNamedSource (std::string const &csName, std::string const &csSource) override |
| virtual std::shared_ptr< VisualProgram > | CreateFromNamedSources (std::string const &vsName, std::string const &vsSource, std::string const &psName, std::string const &psSource, std::string const &gsName, std::string const &gsSource) override |
| bool | Link (GLuint programHandle) |
Additional Inherited Members | |
Public Types inherited from gte::ProgramFactory | |
| enum | { PF_GLSL, PF_HLSL, PF_NUM_API } |
Static Public Member Functions inherited from gte::ProgramFactory | |
| static std::string | GetStringFromFile (std::string const &filename) |
Public Attributes inherited from gte::ProgramFactory | |
| std::string | csEntry |
| ProgramDefines | defines |
| unsigned int | flags |
| std::string | gsEntry |
| std::string | psEntry |
| std::string | version |
| std::string | vsEntry |
Definition at line 16 of file GteGLSLProgramFactory.h.
| GLSLProgramFactory::GLSLProgramFactory | ( | ) |
Definition at line 22 of file GteGLSLProgramFactory.cpp.
|
private |
Definition at line 148 of file GteGLSLProgramFactory.cpp.
|
overrideprivatevirtual |
Implements gte::ProgramFactory.
Definition at line 108 of file GteGLSLProgramFactory.cpp.
|
overrideprivatevirtual |
Implements gte::ProgramFactory.
Definition at line 32 of file GteGLSLProgramFactory.cpp.
|
inlineoverridevirtual |
Implements gte::ProgramFactory.
Definition at line 66 of file GteGLSLProgramFactory.h.
|
private |
Definition at line 226 of file GteGLSLProgramFactory.cpp.
|
static |
Definition at line 26 of file GteGLSLProgramFactory.h.
|
static |
Definition at line 27 of file GteGLSLProgramFactory.h.
|
static |
Definition at line 25 of file GteGLSLProgramFactory.h.
|
static |
Definition at line 24 of file GteGLSLProgramFactory.h.
|
static |
Definition at line 22 of file GteGLSLProgramFactory.h.
|
static |
Definition at line 23 of file GteGLSLProgramFactory.h.