OGRE  1.11.6
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::FunctionStageRef Class Reference

represents a FFPShaderStage, part of a Function More...

#include <OgreShaderFunction.h>

Public Member Functions

void assign (const In &from, const Out &to) const
 to = from; More...
 
void assign (const std::vector< Operand > &params) const
 
void callFunction (const char *name, const InOut &inout) const
 call a library function More...
 
void callFunction (const char *name, const std::vector< Operand > &params) const
 
void callFunction (const char *name, const In &arg, const Out &ret) const
 
void callFunction (const char *name, const In &arg0, const In &arg1, const Out &ret) const
 
void sampleTexture (const In &sampler, const In &texcoord, const Out &dst) const
 dst = texture(sampler, texcoord); More...
 
void sampleTexture (const std::vector< Operand > &params) const
 

Friends

class Function
 

Detailed Description

represents a FFPShaderStage, part of a Function

Member Function Documentation

◆ callFunction() [1/4]

void Ogre::RTShader::FunctionStageRef::callFunction ( const char *  name,
const InOut inout 
) const

call a library function

Parameters
namethe function name

◆ callFunction() [2/4]

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.

◆ callFunction() [3/4]

void Ogre::RTShader::FunctionStageRef::callFunction ( const char *  name,
const In arg,
const Out ret 
) const
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().

◆ callFunction() [4/4]

void Ogre::RTShader::FunctionStageRef::callFunction ( const char *  name,
const In arg0,
const In arg1,
const Out ret 
) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ sampleTexture() [1/2]

void Ogre::RTShader::FunctionStageRef::sampleTexture ( const In sampler,
const In texcoord,
const Out dst 
) const
inline

dst = texture(sampler, texcoord);

◆ sampleTexture() [2/2]

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.

◆ assign() [1/2]

void Ogre::RTShader::FunctionStageRef::assign ( const In from,
const Out to 
) const
inline

to = from;

References assign().

Referenced by assign().

◆ assign() [2/2]

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.

Friends And Related Function Documentation

◆ Function

friend class Function
friend

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