![]() |
OGRE
1.12.4
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; More... | |
void | assign (const In &from, const Out &to) const |
to = from; More... | |
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. More... | |
void | binaryOp (char op, const std::vector< Operand > ¶ms) const |
dst = arg0 OP arg1; More... | |
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. More... | |
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. More... | |
void | callFunction (const char *name, const InOut &inout) const |
call a library function More... | |
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. More... | |
void | div (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 / arg1; More... | |
void | mul (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 * arg1; More... | |
void | sampleTexture (const In &sampler, const In &texcoord, const Out &dst) const |
dst = texture(sampler, texcoord); More... | |
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. More... | |
void | sub (const In &arg0, const In &arg1, const Out &dst) const |
dst = arg0 - arg1; More... | |
Friends | |
class | Function |
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 |
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.
|
inline |
dst = texture(sampler, texcoord);
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;
|
inline |
dst = arg0 / arg1;
|
inline |
dst = arg0 - arg1;
|
inline |
dst = arg0 + arg1;
void Ogre::RTShader::FunctionStageRef::binaryOp | ( | char | op, |
const std::vector< Operand > & | params | ||
) | const |
dst = arg0 OP arg1;
|
friend |