#include <shader-function.h>
Definition at line 35 of file shader-function.h.
◆ ShaderFunc() [1/2]
osg_material_manager::ShaderFunc::ShaderFunc |
( |
std::string |
name, |
|
|
std::vector< std::string > |
args, |
|
|
unsigned int |
priority = 0 |
|
) |
| |
|
inline |
◆ ShaderFunc() [2/2]
osg_material_manager::ShaderFunc::ShaderFunc |
( |
| ) |
|
|
inline |
◆ addAttribute()
void osg_material_manager::ShaderFunc::addAttribute |
( |
GLSLAttribute |
att | ) |
|
|
inline |
◆ addConstant()
void osg_material_manager::ShaderFunc::addConstant |
( |
GLSLConstant |
constant | ) |
|
|
inline |
◆ addDependencyCode()
void osg_material_manager::ShaderFunc::addDependencyCode |
( |
std::string |
codeId, |
|
|
std::string |
code |
|
) |
| |
|
inline |
◆ addExport()
void osg_material_manager::ShaderFunc::addExport |
( |
GLSLExport |
e | ) |
|
|
inline |
◆ addMainVar()
void osg_material_manager::ShaderFunc::addMainVar |
( |
GLSLVariable |
var, |
|
|
int |
priority = 0 |
|
) |
| |
|
inline |
◆ addMainVarDec()
void osg_material_manager::ShaderFunc::addMainVarDec |
( |
GLSLAttribute |
att | ) |
|
|
inline |
◆ addSnippet()
void osg_material_manager::ShaderFunc::addSnippet |
( |
std::string |
line, |
|
|
int |
priority = 0 |
|
) |
| |
|
inline |
◆ addSuffix()
void osg_material_manager::ShaderFunc::addSuffix |
( |
GLSLSuffix |
suffix | ) |
|
|
inline |
◆ addUniform()
void osg_material_manager::ShaderFunc::addUniform |
( |
GLSLUniform |
uniform | ) |
|
|
inline |
◆ addVarying()
void osg_material_manager::ShaderFunc::addVarying |
( |
GLSLVarying |
varying | ) |
|
|
inline |
◆ code()
virtual std::string osg_material_manager::ShaderFunc::code |
( |
| ) |
const |
|
inlinevirtual |
◆ disableExtension()
void osg_material_manager::ShaderFunc::disableExtension |
( |
std::string |
extensionName | ) |
|
|
inline |
◆ enableExtension()
void osg_material_manager::ShaderFunc::enableExtension |
( |
std::string |
extensionName | ) |
|
|
inline |
◆ generateFunctionCall()
vector< string > osg_material_manager::ShaderFunc::generateFunctionCall |
( |
| ) |
|
◆ generateFunctionCode()
std::string osg_material_manager::ShaderFunc::generateFunctionCode |
( |
| ) |
|
|
inline |
◆ getAttributes()
const std::set<GLSLAttribute>& osg_material_manager::ShaderFunc::getAttributes |
( |
| ) |
const |
|
inline |
◆ getConstants()
const std::set<GLSLConstant>& osg_material_manager::ShaderFunc::getConstants |
( |
| ) |
const |
|
inline |
◆ getDeps()
std::vector< std::pair<std::string,std::string> > osg_material_manager::ShaderFunc::getDeps |
( |
| ) |
const |
|
inline |
◆ getDisabledExtensions()
const std::set<std::string>& osg_material_manager::ShaderFunc::getDisabledExtensions |
( |
| ) |
const |
|
inline |
◆ getEnabledExtensions()
const std::set<std::string>& osg_material_manager::ShaderFunc::getEnabledExtensions |
( |
| ) |
const |
|
inline |
◆ getExports()
const std::vector<GLSLExport>& osg_material_manager::ShaderFunc::getExports |
( |
| ) |
const |
|
inline |
◆ getFunctionCalls()
const std::vector<FunctionCall>& osg_material_manager::ShaderFunc::getFunctionCalls |
( |
| ) |
const |
|
inline |
◆ getMainVarDecs()
const std::set<GLSLAttribute>& osg_material_manager::ShaderFunc::getMainVarDecs |
( |
| ) |
const |
|
inline |
◆ getMainVars()
const std::list<MainVar>& osg_material_manager::ShaderFunc::getMainVars |
( |
| ) |
const |
|
inline |
◆ getMinVersion()
int osg_material_manager::ShaderFunc::getMinVersion |
( |
| ) |
|
|
inline |
◆ getSnippets()
const std::vector<PrioritizedLine>& osg_material_manager::ShaderFunc::getSnippets |
( |
| ) |
const |
|
inline |
◆ getSuffixes()
const std::set<GLSLSuffix>& osg_material_manager::ShaderFunc::getSuffixes |
( |
| ) |
const |
|
inline |
◆ getUniforms()
const std::set<GLSLUniform>& osg_material_manager::ShaderFunc::getUniforms |
( |
| ) |
const |
|
inline |
◆ getVaryings()
const std::set<GLSLVarying>& osg_material_manager::ShaderFunc::getVaryings |
( |
| ) |
const |
|
inline |
◆ mainVarDecs_unique_pred()
◆ merge()
void osg_material_manager::ShaderFunc::merge |
( |
ShaderFunc * |
u | ) |
|
◆ setMinVersion()
void osg_material_manager::ShaderFunc::setMinVersion |
( |
int |
minVersion | ) |
|
|
inline |
◆ attributes
std::set<GLSLAttribute> osg_material_manager::ShaderFunc::attributes |
|
protected |
◆ constants
std::set<GLSLConstant> osg_material_manager::ShaderFunc::constants |
|
protected |
◆ deps
std::map<std::string,std::string> osg_material_manager::ShaderFunc::deps |
|
protected |
◆ disabledExtensions
std::set<std::string> osg_material_manager::ShaderFunc::disabledExtensions |
|
protected |
◆ enabledExtensions
std::set<std::string> osg_material_manager::ShaderFunc::enabledExtensions |
|
protected |
◆ exports
std::vector<GLSLExport> osg_material_manager::ShaderFunc::exports |
|
protected |
◆ funcs
std::vector<FunctionCall> osg_material_manager::ShaderFunc::funcs |
|
protected |
◆ mainVarDecs
std::set<GLSLAttribute> osg_material_manager::ShaderFunc::mainVarDecs |
|
protected |
◆ mainVars
std::list<MainVar> osg_material_manager::ShaderFunc::mainVars |
|
protected |
◆ minVersion
int osg_material_manager::ShaderFunc::minVersion |
|
protected |
◆ name
std::string osg_material_manager::ShaderFunc::name |
|
protected |
◆ shaderCode
std::string osg_material_manager::ShaderFunc::shaderCode |
|
protected |
◆ snippets
◆ suffixes
std::set<GLSLSuffix> osg_material_manager::ShaderFunc::suffixes |
|
protected |
◆ uniforms
std::set<GLSLUniform> osg_material_manager::ShaderFunc::uniforms |
|
protected |
◆ varyings
std::set<GLSLVarying> osg_material_manager::ShaderFunc::varyings |
|
protected |
The documentation for this class was generated from the following files:
- /Developer/bob-learning-dev/simulation/mars/common/graphics/osg_material_manager/src/shader/shader-function.h
- /Developer/bob-learning-dev/simulation/mars/common/graphics/osg_material_manager/src/shader/shader-function.cpp