![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
represents a FFPShaderStage, part of a Function More...
#include <OgreShaderFunction.h>
Public Member Functions | |
void | add (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 + arg1; | |
void | assign (const In &from, const Out &to) const |
to = from; | |
void | assign (const std::vector< Operand > ¶ms) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | binaryOp (char op, const std::vector< Operand > ¶ms) const |
dst = arg0 OP arg1; | |
void | callBuiltin (const char *name, const In &arg, const Out &ret) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | callBuiltin (const char *name, const In &arg0, const In &arg1, const In &arg2, const Out &ret) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | callBuiltin (const char *name, const In &arg0, const In &arg1, const Out &ret) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | callBuiltin (const char *name, const std::vector< Operand > ¶ms) const |
shorthand for "dst = BUILTIN(args);" | |
void | callFunction (const char *name, const In &arg, const Out &ret) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | callFunction (const char *name, const In &arg0, const In &arg1, const Out &ret) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | callFunction (const char *name, const InOut &inout) const |
call a library function | |
void | callFunction (const char *name, const std::vector< Operand > ¶ms) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | div (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 / arg1; | |
void | mul (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 * arg1; | |
void | sampleTexture (const In &sampler, const In &texcoord, const Out &dst) const |
dst = texture(sampler, texcoord); | |
void | sampleTexture (const std::vector< Operand > ¶ms) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | sub (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 - arg1; | |
represents a FFPShaderStage, part of a Function
void Ogre::RTShader::FunctionStageRef::callFunction | ( | const char * | name, |
const InOut & | inout ) const |
call a library function
name | the function name |
inout | function argument |
Referenced by callFunction().
void Ogre::RTShader::FunctionStageRef::callFunction | ( | const char * | name, |
const std::vector< Operand > & | params ) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References callFunction().
Referenced by callFunction().
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References callFunction().
void Ogre::RTShader::FunctionStageRef::sampleTexture | ( | const std::vector< Operand > & | params | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
void Ogre::RTShader::FunctionStageRef::assign | ( | const std::vector< Operand > & | params | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
inline |
dst = arg0 * arg1;
References binaryOp().
|
inline |
dst = arg0 / arg1;
References binaryOp().
|
inline |
dst = arg0 - arg1;
References binaryOp().
|
inline |
dst = arg0 + arg1;
References binaryOp().
void Ogre::RTShader::FunctionStageRef::binaryOp | ( | char | op, |
const std::vector< Operand > & | params ) const |
void Ogre::RTShader::FunctionStageRef::callBuiltin | ( | const char * | name, |
const std::vector< Operand > & | params ) const |
shorthand for "dst = BUILTIN(args);"
Referenced by callBuiltin(), and callBuiltin().
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References callBuiltin().
Referenced by callBuiltin().
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References callBuiltin().
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
References callBuiltin().