VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtIndirectEffectTextureShader Class Reference

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::VirtualProgram::FunctionLocation funcLoc)
 
 ~DtIndirectEffectTextureShader ()
 
 DtIndirectEffectTextureShader (const DtIndirectEffectTextureShader &other)
 
DtIndirectEffectTextureShaderoperator= (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::VirtualProgram::FunctionLocation fragmentFunctionLocation (void) const
 

Protected Attributes

std::string myName
 
std::string myShaderFile
 
float myExecPriority
 
osgEarth::VirtualProgram::FunctionLocation myFragFuncLoc
 
std::string myTextureMapName
 
std::string myTextureCoordName
 

Private Member Functions

 DtIndirectEffectTextureShader ()
 

Constructor & Destructor Documentation

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::VirtualProgram::FunctionLocation  funcLoc 
)

constructor - also giving the fragment location

makVrv::DtIndirectEffectTextureShader::~DtIndirectEffectTextureShader ( )

destructor

makVrv::DtIndirectEffectTextureShader::DtIndirectEffectTextureShader ( const DtIndirectEffectTextureShader other)

Copy Constructor.

makVrv::DtIndirectEffectTextureShader::DtIndirectEffectTextureShader ( )
private

CTOR (unimplemented default CTOR)

Member Function Documentation

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::VirtualProgram::FunctionLocation makVrv::DtIndirectEffectTextureShader::fragmentFunctionLocation ( void  ) const

the osgEarth shader fragment function location (ex. LOCATION_FRAGMENT_LIGHTING)

Member Data Documentation

std::string makVrv::DtIndirectEffectTextureShader::myName
protected
std::string makVrv::DtIndirectEffectTextureShader::myShaderFile
protected
float makVrv::DtIndirectEffectTextureShader::myExecPriority
protected
osgEarth::VirtualProgram::FunctionLocation makVrv::DtIndirectEffectTextureShader::myFragFuncLoc
protected
std::string makVrv::DtIndirectEffectTextureShader::myTextureMapName
protected
std::string makVrv::DtIndirectEffectTextureShader::myTextureCoordName
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)