![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
shorthand for "dst = texture(sampler, uv);" instead of using FFP_SampleTexture More...
#include <OgreShaderFunctionAtom.h>
Inheritance diagram for Ogre::RTShader::SampleTextureAtom:Public Member Functions | |
| SampleTextureAtom (const In &sampler, const In &texcoord, const Out &dst, int groupOrder) | |
| SampleTextureAtom (int groupOrder) | |
| void | writeSourceCode (std::ostream &os, const String &targetLanguage) const override |
| Abstract method that writes a source code to the given output stream in the target shader language. | |
Public Member Functions inherited from Ogre::RTShader::FunctionAtom | |
| virtual | ~FunctionAtom () |
| Class default destructor. | |
| int | getGroupExecutionOrder () const |
| Get the group execution order of this function atom. | |
| OperandVector & | getOperandList () |
| Get a list of parameters this function invocation will use in the function call as arguments. | |
| void | pushOperand (ParameterPtr parameter, Operand::OpSemantic opSemantic, Operand::OpMask opMask=Operand::OPM_ALL, int indirectionLevel=0) |
| Push a new operand (on the end) to the function. | |
| void | setOperands (const OperandVector &ops) |
Additional Inherited Members | |
Public Types inherited from Ogre::RTShader::FunctionAtom | |
| typedef std::vector< Operand > | OperandVector |
shorthand for "dst = texture(sampler, uv);" instead of using FFP_SampleTexture
|
inlineexplicit |
| Ogre::RTShader::SampleTextureAtom::SampleTextureAtom | ( | const In & | sampler, |
| const In & | texcoord, | ||
| const Out & | dst, | ||
| int | groupOrder ) |
|
overridevirtual |
Abstract method that writes a source code to the given output stream in the target shader language.
Implements Ogre::RTShader::FunctionAtom.