![]() |
VR-Forces 5.0.3 Developer's Guide
|
Contains info about the shader file, execution priority and name of the shader corresponding to a particular effect texture may be found. These shaders are the same ones used for the non indirect case but with a different #define so the shader uses the indirect path This class is a non-virtual container class.
Public Member Functions | |
| DtIndirectEffectTextureShader (const std::string &name, const std::string &file, float prio, const std::string &textureMapName, const std::string &textureCoordName) | |
| DtIndirectEffectTextureShader (const std::string &name, const std::string &file, float prio, const std::string &textureMapName, const std::string &textureCoordName, osgEarth::ShaderComp::FunctionLocation funcLoc) | |
| ~DtIndirectEffectTextureShader () | |
| DtIndirectEffectTextureShader (const DtIndirectEffectTextureShader &other) | |
| DtIndirectEffectTextureShader & | operator= (const DtIndirectEffectTextureShader &other) |
| const std::string & | name (void) const |
| const std::string & | shaderFile (void) const |
| float | priority (void) const |
| const std::string & | textureMapName (void) const |
| const std::string & | textureCoordName (void) const |
| osgEarth::ShaderComp::FunctionLocation | fragmentFunctionLocation (void) const |
Protected Attributes | |
| std::string | myName |
| std::string | myShaderFile |
| float | myExecPriority |
| osgEarth::ShaderComp::FunctionLocation | myFragFuncLoc |
| std::string | myTextureMapName |
| std::string | myTextureCoordName |
Private Member Functions | |
| DtIndirectEffectTextureShader () | |
| makVrv::DtIndirectEffectTextureShader::DtIndirectEffectTextureShader | ( | const std::string & | name, |
| const std::string & | file, | ||
| float | prio, | ||
| const std::string & | textureMapName, | ||
| const std::string & | textureCoordName | ||
| ) |
constructor
| makVrv::DtIndirectEffectTextureShader::DtIndirectEffectTextureShader | ( | const std::string & | name, |
| const std::string & | file, | ||
| float | prio, | ||
| const std::string & | textureMapName, | ||
| const std::string & | textureCoordName, | ||
| osgEarth::ShaderComp::FunctionLocation | funcLoc | ||
| ) |
constructor - also giving the fragment location
| makVrv::DtIndirectEffectTextureShader::~DtIndirectEffectTextureShader | ( | ) |
destructor
| makVrv::DtIndirectEffectTextureShader::DtIndirectEffectTextureShader | ( | const DtIndirectEffectTextureShader & | other | ) |
Copy Constructor.
|
private |
CTOR (unimplemented default CTOR)
| DtIndirectEffectTextureShader& makVrv::DtIndirectEffectTextureShader::operator= | ( | const DtIndirectEffectTextureShader & | other | ) |
Assignment Operator.
| const std::string& makVrv::DtIndirectEffectTextureShader::name | ( | void | ) | const |
the function name
| const std::string& makVrv::DtIndirectEffectTextureShader::shaderFile | ( | void | ) | const |
the shader file
| float makVrv::DtIndirectEffectTextureShader::priority | ( | void | ) | const |
the execution priority
| const std::string& makVrv::DtIndirectEffectTextureShader::textureMapName | ( | void | ) | const |
the name of the texture map variable used in the shader
| const std::string& makVrv::DtIndirectEffectTextureShader::textureCoordName | ( | void | ) | const |
the name of the texture coord variable used in the shader
| osgEarth::ShaderComp::FunctionLocation makVrv::DtIndirectEffectTextureShader::fragmentFunctionLocation | ( | void | ) | const |
the osgEarth shader fragment function location (ex. LOCATION_FRAGMENT_LIGHTING)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |