#include <ShaderProgram.h>
Enumerator |
---|
NONE |
|
VERTEX |
|
FRAGMENT |
|
GEOMETRY |
|
TESSCONTROL |
|
TESSEVAL |
|
COMPUTE |
|
Enumerator |
---|
EXISTING |
|
FROMFILE |
|
FROMSOURCE |
|
ge::ShaderProgram::ShaderProgram |
( |
| ) |
|
ge::ShaderProgram::~ShaderProgram |
( |
| ) |
|
ge::ShaderProgram::ShaderProgram |
( |
const std::shared_ptr< ShaderProgram > |
copy | ) |
|
|
inline |
int ge::ShaderProgram::addSourcePart |
( |
std::string |
_fileName | ) |
|
void ge::ShaderProgram::clear |
( |
| ) |
|
bool ge::ShaderProgram::compileShader |
( |
| ) |
|
void ge::ShaderProgram::create |
( |
std::string |
_inputPath, |
|
|
ProgramType |
_type |
|
) |
| |
void ge::ShaderProgram::createFromSource |
( |
std::string |
_source, |
|
|
ProgramType |
_type |
|
) |
| |
bool ge::ShaderProgram::getCompileResult |
( |
std::string |
_input | ) |
|
int ge::ShaderProgram::getDefineValue |
( |
std::string |
_in | ) |
const |
std::string ge::ShaderProgram::getPathToFile |
( |
| ) |
const |
GLuint ge::ShaderProgram::getShaderObject |
( |
| ) |
|
std::string ge::ShaderProgram::getSource |
( |
| ) |
const |
const std::vector< std::string > & ge::ShaderProgram::getSourceParts |
( |
| ) |
const |
void ge::ShaderProgram::insertSourcePart |
( |
std::string |
_fileName, |
|
|
int |
_atIdx |
|
) |
| |
bool ge::ShaderProgram::isDefineAttribute |
( |
std::string |
_in | ) |
const |
bool ge::ShaderProgram::isInAttribute |
( |
std::string |
_in | ) |
const |
bool ge::ShaderProgram::isOutAttribute |
( |
std::string |
_in | ) |
const |
void ge::ShaderProgram::parse |
( |
std::string |
_repoUrl | ) |
|
void ge::ShaderProgram::printShaderInfoLog |
( |
GLuint |
obj, |
|
|
std::string |
_input |
|
) |
| |
void ge::ShaderProgram::removeSourcePart |
( |
int |
_idx | ) |
|
void ge::ShaderProgram::setDefineAttribute |
( |
std::string |
_in, |
|
|
int |
_value |
|
) |
| |
void ge::ShaderProgram::setDefinesToZero |
( |
| ) |
|
The documentation for this class was generated from the following files:
- /Users/mthoeny/Development/gis_globeEngine/trunk/src/globeEngineCore/include/ShaderProgram.h
- /Users/mthoeny/Development/gis_globeEngine/trunk/src/globeEngineCore/src/ShaderProgram.cpp