OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::BinaryOpAtom Class Reference

shorthand for "dst = a OP b;" More...

#include <OgreShaderFunctionAtom.h>

+ Inheritance diagram for Ogre::RTShader::BinaryOpAtom:

Public Member Functions

 BinaryOpAtom (char op, const In &a, const In &b, const Out &dst, int groupOrder)
 BinaryOpAtom (char op, 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. More...
- Public Member Functions inherited from Ogre::RTShader::FunctionAtom
virtual ~FunctionAtom ()
 Class default destructor. More...
int getGroupExecutionOrder () const
 Get the group execution order of this function atom. More...
OperandVectorgetOperandList ()
 Get a list of parameters this function invocation will use in the function call as arguments. More...
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. More...
void setOperands (const OperandVector &ops)

Additional Inherited Members

- Public Types inherited from Ogre::RTShader::FunctionAtom
typedef std::vector< OperandOperandVector

Detailed Description

shorthand for "dst = a OP b;"

Constructor & Destructor Documentation

◆ BinaryOpAtom() [1/2]

Ogre::RTShader::BinaryOpAtom::BinaryOpAtom ( char  op,
int  groupOrder 

◆ BinaryOpAtom() [2/2]

Ogre::RTShader::BinaryOpAtom::BinaryOpAtom ( char  op,
const In a,
const In b,
const Out dst,
int  groupOrder 

Member Function Documentation

◆ writeSourceCode()

void Ogre::RTShader::BinaryOpAtom::writeSourceCode ( std::ostream &  os,
const String targetLanguage 
) const

Abstract method that writes a source code to the given output stream in the target shader language.

Implements Ogre::RTShader::FunctionAtom.

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